Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi -
Is there a way to apply Conditional colors by creating a table based on the age of a record?
Example: a record was:
Updated last 7 days - green
Last update 8-30 days - yellow
Last update >=30 days - red
In this case - I have a column actually titled "last updated" which refers to a the current status of a record / line item of a table.
Thanks!
Solved! Go to Solution.
I'm not sure if it's possible to conditionally format on the date field itself, but if you create a custom column Age = INT(TODAY()-[your last update column]), it should give you a value as an integer which you can then conditionally format based on the rules you have
@Anonymous
You cannot apply conditional formatting on Date fields. It only applys for calculated values. You may better follow the post by @jthomson and then apply color formatting.
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-november-2017-feature-summary/
You may use this link on how to use Color fomatting based on rules.
Regards,
pxg08680
@Anonymous
You cannot apply conditional formatting on Date fields. It only applys for calculated values. You may better follow the post by @jthomson and then apply color formatting.
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-november-2017-feature-summary/
You may use this link on how to use Color fomatting based on rules.
Regards,
pxg08680
I'm not sure if it's possible to conditionally format on the date field itself, but if you create a custom column Age = INT(TODAY()-[your last update column]), it should give you a value as an integer which you can then conditionally format based on the rules you have
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |