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 count when ite...
Power Apps
Answered

Display count when item visibility is = true

(0) ShareShare
ReportReport
Posted on by 181

Hi all.

 

Ok bear with me on this one as its has been annoying me for a while.


Every employee has a review with a line manager at 6 months and 12 months and a final review at 24 months. I have created a dashboard to show the status of these reviews however I need help with the formula to filter out staff who are not due their reviews, so if an employee has been with us for 18 months they should not show as outstanding on our 24 month review label because they have not yet reached the required date. 

 

The App - a filtered gallery based on a users Office Location, they can only view staff where the office location matches their own.

 

The SharePoint List =  One of the columns (Yes/No - named 24MonthFlag) calculates the employees start date + 730 days, if they are on or over the date the value is 'Yes'. This is working as it should do.

 

=[EmploymentStartDate]+730>[24 Month Review]

 

The dashboard = A simple text box with the following code:

 

"Complete" & " = " & CountRows(
 Filter(
 StaffGal.AllItems, '24 Month Review Status'.Value = "Not Complete"
 )
)

 

I need the above counter to show the total count of staff who have a 24MonthFlag status = true, AND a 24 month Review Status. value of "Not Complete"

#

Hope this makes sense.

 

Many thanks

 

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,746 Super User 2026 Season 1 on at

    Hi @Angry_Sys_Admin ,

     

    For this you can try simply adding a condition to your filter:

    "Complete" & " = " & CountRows(
     Filter(
     StaffGal.AllItems, 
     '24MonthFlag',
     '24 Month Review Status'.Value = "Not Complete"
     )
    )

     Since the value in the column should be a boolean by itself, you don't need to use any operators.

     

    Since '24MonthFlag' is a calculated column, this may cause issues (sorry, can't test to be sure), in which case you should replace the new condition with something similar to what you have for the calculated column:

     

    "Complete" & " = " & CountRows(
     Filter(
     StaffGal.AllItems,
     EmploymentStartDate > Today()-730, 
     '24 Month Review Status'.Value = "Not Complete"
     )
    )

     

  • Angry_Sys_Admin Profile Picture
    181 on at

    @BCBuizer 

    Thanks for the reply, the second solution worked although I just needed to reverse the > on the Today value so the working code reads:

     

    "Complete" & " = " & CountRows(
     Filter(
     StaffGal.AllItems,
     EmploymentStartDate < Today()-730, 
     '24 Month Review Status'.Value = "Not Complete"
     )
    )

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 742

#2
Valantis Profile Picture

Valantis 474

#3
Haque Profile Picture

Haque 358

Last 30 days Overall leaderboard