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 / Label in the gallery t...
Power Apps
Answered

Label in the gallery that is outside the data source

(0) ShareShare
ReportReport
Posted on by 58

Good day,

 

I have inserted a label in a gallery and it is not connected to the data source.

RedcapVS_0-1701392939335.png

 

The red circle is the label (adminynlbl.Text) I inserted with Text = If(Value(adminthlbl.Text) >= 32, "YES", Value(adminthlbl.Text) < 32, "NO"). This label is totally not included in the data source.

 

I wish to count the number of yes/no in a text label circled with blue. Question, is that even possible since the label I inserted is not connected to any data source? Please help.

 

 

Thank you in advance.

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @RedcapVS ,

     

    Please try:

    CountRows(
     Filter(
     GalleryName.AllItems,
     Value(ThisRecord.adminthlbl.Text)>=32
     )
    )

     

    Best Regards,

    Bof

  • RedcapVS Profile Picture
    58 on at

    wow that was quick and it worked, thank you for this 🙂

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard