Hi there,
I have a text label in my Power App which currently only appears based on the conditions I have below - "IsLDNBased" is a global variable which I set based on the user when the app is loaded.
If(Or(IsLDNbased = "London", User().Email = "specificemailaddress@email.com"), false, true)
I want to add to this, ignoring the current conditions above entirely, to not display the label if the time now is 3pm UK time or afterwards AND if the date selected in the DatePicker is equal to tomorrow's date.
Any ideas please?
Thanks
K.
Solved! Go to Solution.
Thanks, I solved it with...
If(Or(IsLDNbased = "London", User().Email = "email@email.com", And(LDN_Date_Picker.SelectedDate = DateAdd(Today(),1), TimeValue(Now()) >= TimeValue("12:00 PM"))), false, true)
Hey @Kosenurm
Try this:
If(Or(IsLDNbased = "London", User().Email = "specificemailaddress@email.com",DatePicker1.SelectedDate=Today()+1,TimeValue(Now())>=Time(16,0,0)), false, true)
If the above does not work you can make separate or statements.
Thanks, I solved it with...
If(Or(IsLDNbased = "London", User().Email = "email@email.com", And(LDN_Date_Picker.SelectedDate = DateAdd(Today(),1), TimeValue(Now()) >= TimeValue("12:00 PM"))), false, true)
User | Count |
---|---|
126 | |
87 | |
84 | |
75 | |
69 |
User | Count |
---|---|
214 | |
178 | |
140 | |
105 | |
83 |