web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Toggle vlaue

(0) ShareShare
ReportReport
Posted on by 522

Hi

 

I have toogle buttom on a gallery. 

 

 

 

On select I have :

 

Patch(MPS;{Id:ThisItem.Id};{EQButton:Self.Value});;
Patch(MPS;ThisItem;{EQformat:If((DateAdd(ThisItem.EQ;-6;Hours))<Now();3;2)})

 

Default I have:

 

If(ThisItem.EQButton=false;false;true)

 

 

I want to compare NOW with the time in EQ field, if NOW is older than EQ field, then i want the value 3 in EQformat.

 

This is working okay, but if I set the toogle to uncheck, the EQformat should be 2, but this dont work, it is still 3.

 

Can you help me?

 

 

Regards

 

Tony

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard