Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Item Statement to filter by counting Falses = 0

(1) ShareShare
ReportReport
Posted on by 107
I have a screen that I am using act as a Status Report screen
 
I have a Vertical gallery displaying data with a progress bar control
 
Item Statement:
GroupBy(Filter(ECI_Dies_1,Business_unit=Dropdown3.SelectedText.Value),eci_id,product,Purpose,Priority,content,cavity,completed)
 
Since the data source (SP list) is Patched records where ID number is allowed to be duplicated and the uniqueness comes from a different column.
the completed column is a Yes\No checkbox in SP list. 
 
how can I ammend this statement to also exclude any of the groups of eci_id's where all the records 
Here is a sample of the gallery data. above the progress part represents the number of child records that have a matching eci_id
(the first number on the left side). in this case i would like AACT-0106 to not show in the gallery because 7 of 7 are complete
 
 
What i TRIED was adding a count to the criteria in the filter statement but it produced an error that showed no data.
 
Categories:
  • CP-23071818-0 Profile Picture
    107 on at
    Item Statement to filter by counting Falses = 0
    That worked! had to make a tweek to change a field since the data was imported to the SP list initially (out of my lack of understanding) i had to use Field_2 to read the completed column but it works thank you!
  • Verified answer
    WarrenBelz Profile Picture
    146,601 Most Valuable Professional on at
    Item Statement to filter by counting Falses = 0
    Probably something like this
    AddColumns(
       Filter(
          GroupBy(
             Filter(
                ECI_Dies_1,
                Business_unit = Dropdown3.SelectedText.Value
             ),
             eci_id,
             product,
             Purpose,
             Priority,
             content,
             cavity,
             Grouped
          ),
          CountRows(
             Filter(
                Grouped,
                complete
             )
          ) <>
          CountRows(Grouped)
       ),
       Summary,
       CountRows(
          Filter(
             Grouped,
             complete
          )
       ) & "/" & CountRows(Grouped)
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,942 Most Valuable Professional

Leaderboard