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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 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 (2,677)