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
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,316)