Announcements
Hello
I have an app with a gallery, with data thats stored on Sharepoint. I also have a dropdown that controls my gallery.
Is there a way that when I select one of the options in the dropdown, it does a count and tells me how many there are? Kind of like a card in Power BI I guess?
Thank you
Hi @pricey79 ,
Well you can achive that by using the OnChange property of your dropdown...
UpdateContext(
{countMySelection:
CountRows(Filter(yourSharepointList, yourColumn =DropDown.Selected.Value))
})
Put a label on the Screen, set it's text property to countMySelection ...and give it a try !
Hope it helps !
Hello @pricey79,Is this what you are looking for?
The number that tells how many filtered result are there?
If yes, then you just need to add a Label beside your Dropdown.And then set the Text property to :
"Filtered Result : " & CountRows(YourGalleryName.AllItems)
It will show you how many items are there after filtering with drop down.
I hope this help!
Rizky - Indonesia
@rizkyaditya
Perfect, thank you very much
Thank you @gabibalaban
Please mark my answer as solution if it satified your needs ! Thank's a lot !
Ah ... nevermind, you have accepted another answer as solution already.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 395 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 260 Most Valuable Professional