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 / Count rows of data tab...
Power Apps
Unanswered

Count rows of data table from drop down with 4 condtions

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need to show the Number of Rows from the Data table after I selected the 4 conditions from the dropdown.

from the picture, the rows will equal 4 rows.

 

Jukruu_0-1645520031590.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    Hi @Anonymous ,

    The easiest way is

    CountRows(YourGalleryName.AllItems)

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WarrenBelz 

    I use the datatable not Gallery and it has shown an error (see in the picture below)

     

    Jukruu_0-1645579880032.png

     

  • WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    @Anonymous ,

    That is making it more difficult - but you can wrap the Items of the Data Table in CountRows() - put CountRows( at the start, paste in your Items and add a closing bracket.

    Incidentally, why are you using a data table ? Galleries can do the same thing, be made to look the same and are far more flexible.

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

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 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard