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

View solution in original post

@denglish  That works great! Thank you so much!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (26,773)