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 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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,443)