Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi All!
I want to coloring a matrix depending on the dates, for instance, if I have dates before today I want to coloring the background in red, if I have dates between today+6 months I want to coloring the background in yellow and green in other cases.
Thank you in advanced for your help!
Best regards
Solved! Go to Solution.
Hi @JMST
You can create DAX measure for color flag :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @JMST
Please try the following solution. Hardly takes 5 mins.
1) Create column for Next 6 month date
then you will get this color formatted column.
If my post helps please give kudos and accept it as a solution!
Thanks
Thank you for your answer! It works perfect!
Hi @JMST
Please try the following solution. Hardly takes 5 mins.
1) Create column for Next 6 month date
then you will get this color formatted column.
If my post helps please give kudos and accept it as a solution!
Thanks
Hi @JMST
You can create DAX measure for color flag :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 39 | |
| 21 | |
| 20 |
| User | Count |
|---|---|
| 148 | |
| 110 | |
| 63 | |
| 36 | |
| 35 |