cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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

@denglish  That works great! Thank you so much!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (2,356)