Announcements
Hi everyone!
How can I implement this in PowerApps?
Thanks in advance!
Set the Color property of the number in your gallery to If(DateDiff('date in locker',Today())>7,Red,Black)
For the toggle, DateDiff('date in locker',Today())>7 should be sufficient as it will reduce to either true or false.
Hello,
I think you could just put an IF condition on the BorderColor property.The goal would be to compare the "Date in Locker" with "Date in Locker" + 7 days and then put the border in red or blue.You could also decide to use the boolean for this condition but to do so you would have to do a recurrence flow that is triggered every day to retrieve the records whose "Date in Locker" + 7 days is equal to today's date and for these records update the boolean field to true. Then, you can add an IF condition on the BorderColor property based on this boolean field!Hope it helps 🙂
@Drrickryp
Hi! The color changed after 7 days! Great! Thanks for your help!
Can you help me with this one? I want the toggle button from No to Yes after 7 days too.
For the toggle, the Default property could be set as DateDiff('date in locker',Today())>7 since it reduces to either true or false. If that doesn't work then If(DateDiff('date in locker',Today())>7,"Yes","No") in the Default property of the toggle.
It worked! Thanks for helping!
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185