cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
F_Quint
Helper IV
Helper IV

Show label text if Title in Gallery is blank

I have a gallery with Title and Subtitle, then I added a label with the following formula in the Text property:

If(IsBlank(Title4_2.Text), "No events scheduled")

 

This works when I click on a few dates on my calendar, but then after a while, it shows the text while the Title isn't blank.  Is there another formula I could use to avoid this from happening?

 

 

Navia_calendar1.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
denglish
Advocate II
Advocate II

Hi @F_Quint, I have had success calling a CountRows() on the Gallery.Allitems:

 

Visible: CountRows(CalendarEventsGallery1_2.AllItems) <= 0

View solution in original post

2 REPLIES 2
denglish
Advocate II
Advocate II

Hi @F_Quint, I have had success calling a CountRows() on the Gallery.Allitems:

 

Visible: CountRows(CalendarEventsGallery1_2.AllItems) <= 0

@denglish  That works great! Thank you so much!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,533)