cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Robertjde
Helper V
Helper V

If Funktion

i have two galleries. Gallery 7 is controlled via a dropdown box and the date displayed (type date) should then be hidden in the 2nd gallery.
My attempt so far has been ...

 

Visible Button

 

If(ThisItem.Datum = Gallery7.AllItems.Datum;false;true)

 

 

12 REPLIES 12

Hi @WarrenBelz 
and you have no idea hide the button if a particular date is present?

Robertjde
Helper V
Helper V

I solved it like this ... Not nice, but it works!

 

@WarrenBelzThanks for your ideas and the help with my problem!

If(ThisItem.Datum < DatePicker2.SelectedDate;false;true; If(Weekday(ThisItem.Datum;Monday) >6;false ;true; If(ThisItem.Datum = DateTimeValue("24.12.") Or ThisItem.Datum = DateTimeValue("31.12.") Or ThisItem.Datum = DateTimeValue("01.01.2022");false;true)))



@Robertjde ,

That is way beyond the question you asked

If(ThisItem.Datum = Gallery7.AllItems.Datum;false;true)

(which is what I responded to), but glad you got it working.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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