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.

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,534)