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 / Countrows of a gallery...
Power Apps
Answered

Countrows of a gallery that are dropdown boxes

(0) ShareShare
ReportReport
Posted on by 64

Hi,

 

Some help would be really appreciated, going out of my mind and feel it should be painfully easy. I have a Gallery with 6 columns and each of them is a dropdown box with the same 3 choices which is a choices field in Sharepoint "Work", "Home", "A/L". I want to be able to count the rows and given me a total of how many times "Office" appears on a row.

 

CountRows( Filter( Gallery4.AllItems, DropdownKaren.Value = "Office" ))

 

I've been trying all sorts of variations around this but getting nowhere

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Can you share some pics of your app please

  • forest2002 Profile Picture
    64 on at

    Screenshot 2021-10-11 at 16.01.44.png

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @forest2002 ,

     

    I did a demo for you.

    I have 3 same dropdown controls in my gallery.

    Their Items property:

    ["Office","A","B"]

    vxiaochenmsft_0-1634002775237.png

    Insert a lable control and set its Text property to:

    CountRows(Split(Dropdown1.Selected.Value&Dropdown1_1.Selected.Value&Dropdown1_2.Selected.Value,"Office"))-1

     

    Best Regards,

    Wearsky

  • forest2002 Profile Picture
    64 on at

    Absolute legend thank you so much!!!! 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard