web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display on Calendar
Power Apps
Unanswered

Display on Calendar

(0) ShareShare
ReportReport
Posted on by 997 Super User 2024 Season 1

Hi, I'm creating a calendar based on my Leave Request list. I want the Calendar only to display the "Approved" request. The green box is the Approved leave and the black one is Pending and could be Rejected or Cancelled. How to make if Approved = green colour, others = invisible from the calendar? 

anonymous21_0-1656386784368.png

 

How to make if there's more than 1 request in the box, both requests will be displayed. For example, there are 2 requests made on 28 June 2022 so both requester's names will appear. How to do that? Can anyone please help me?

 

Thank you.

 

Categories:
  • Krishna_R Profile Picture
    525 on at

    Hi @syhrh , I'm working on similar requirements. 

    1. for the fill property, use the switch condition like switch(thisitem.status.value,"approved",Green,"inprogress",Orange,RGBA(0,0,0,0))

     

    2. for your 2nd question there are two ways, 1 is use to nested gallery and pass the following filter to items property

    filter(datasource, yourdatecolumn = datevalue)

    otherwise

    use a text label and in text property show the count of requests on the day. like countrows(filter(datasource,datecolumn = datevalue)) and onclick of it show one more gallery to display all of your requests

  • Krishna_R Profile Picture
    525 on at

    Hi @syhrh 

    any further updates on this ?

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    Hi @Krishna_R, I've managed to only show approved ones. The second requirement I don't do it because I'm not too good at Power Apps and I keep getting errors so I decide not to do it.

    Thank you for your help and concern.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard