Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Message if there is no data in gallery

(0) ShareShare
ReportReport
Posted on by 390

Good morning everyone,

I'm asking if I can show a messsage if there is no information in gallery: like "There's no info registered, please create a new plan.".

(The cross symbol is where the gallery is located)

Thank you

Gallery.PNG

 

Categories:
  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on at
    Re: Message if there is no data in gallery
    Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

    Thanks,
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • Verified answer
    JoseC12 Profile Picture
    390 on at
    Re: Message if there is no data in gallery

    Thank you very much.

    I corrected the formula form: 

    If(CountRows(Gallery.AllItems)=0; true; false)

    Regards

     

  • Verified answer
    PowerAddict Profile Picture
    7,314 Most Valuable Professional on at
    Re: Message if there is no data in gallery
    Yes, add a label and enter the text you want to show. Set the visible property of that label to:

    If(CountRows(Gallery.AllItems=0, true, false)

    Let me know if this helps.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1