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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Conditional Formating ...
Power Apps
Suggested Answer

Conditional Formating -> Data table

(0) ShareShare
ReportReport
Posted on by 203
Hi Community 
 
How can I change the color of data table rows depending on the "Abgabetermin"? The goal is that 7 days before the deadline day the corresponding row turns red. 
It is unclear to me how to set up the formula if I do not have a TemplateFill control in my data table...

Basically I use one of these modern ready-made canvas templates.
 
If(
DateDiff(Today(), ThisItem.Abgabetermin) <= 7 && DateDiff(Today(), ThisItem.Deadline) >= 0,
RGBA(255, 0, 0, 0.2),
RGBA(255, 255, 255, 0) // Default color
)
 
 
I am grateful for any help or tips
 
Greetings
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi
     
    Unfortunately you either have to use a Gallery, or you could place Rectangle Controls, and change their colors, but personally... using the Gallery is the easist
    way if you can do it
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard