Notifications
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268