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 Apps
Unanswered

Label Not updating

(0) ShareShare
ReportReport
Posted on by 438

Hi 

I have a gallaery with combox control in it. Initially whne page loads i am setting all items of gallery with collection and combox field empty. User will come and select some value in combox. Once the selection is made, i want to display the count of rows from gallery where combox selection made(combox not blank).

In formula bar i can see correct value but on page label not showing the value.

 

Label Text Property: 

"No Of Vehicles Added : " & CountRows(Filter(GalleryViewDrivers.AllItems As galselected,!IsBlank(galselected.ComboBoxLicensePlate.Selected)))
 
 
When i use dropdown instead of combox label shows correct value but when using combox it doesn't work.
I need combox as i want to enable search functionality on combox to filter the values
 
COmbox Itemss:
Filter(VehicleMaster,StartsWith(LicensePlate,Self.SearchText))
 
VehicleMaster is SP List
 
Please help. 
 
Thanks in advance.vish3027_0-1706887463860.png

 

Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @vish3027 - I think this is what you're trying to do:

     

    "No Of Vehicles Added : " & CountRows(
     Filter(
     GalleryViewDrivers.AllItems,
     Len(ComboBoxLicensePlate.Selected.Value) > 0
     )
    )
    //Assumes the ComboBox is returning a column called "Value". Change if the column name is different. E.g. ComboBox17.Selected."Some Field"
  • Micky Profile Picture
    365 Moderator on at

    Your code should working perfectly fine, you can try saving you app, then clear your browser cache then close it and re-open and edit the app and check if it works.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard