Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
I am having issues creating conditional formating in Matrix table
I want to highlight the rows where Actual is more than Budget. I may be using the wrong visual. is there an other visual that can provide similar or better information.
Solved! Go to Solution.
Create the Color measure like this
Then go to the Format section -> Conditional formatting -> on Background color ->Advanced Control -> Select Field Value in Format By Section --> on the Based on field , select Color measure.
Attached is the pbix file.
https://dropfiles.org/8F6LLk8Q
Hope it will help
Regards,
Sanalytics
if it is your solution then please accept it as solution and appreciate for kudos
Create the Color measure like this
Then go to the Format section -> Conditional formatting -> on Background color ->Advanced Control -> Select Field Value in Format By Section --> on the Based on field , select Color measure.
Attached is the pbix file.
https://dropfiles.org/8F6LLk8Q
Hope it will help
Regards,
Sanalytics
if it is your solution then please accept it as solution and appreciate for kudos
@lotus22 , For this better to create two measures ,
actual = sumx(filter([Type]="Actual"),[USD])
Budget= sumx(filter([Type]="Budget"),[USD])
create a color measure
color = if([actual] >[budget],"green", "white")
Use that in conditional formatting using field values option
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
74 | |
57 | |
38 | |
33 |
User | Count |
---|---|
71 | |
66 | |
57 | |
49 | |
47 |