Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Shruthiyua
Regular Visitor

Conditional Formatting based on Field Values

Shruthiyua_0-1761119170084.png

Shruthiyua_1-1761119204070.png


Hello Community,

I am trying to create a matrix table as shown above. My goal is to add databars based on 3 conditions.

Variance >10%: Green,
Variance<-10%: Red,
else Grey.

I am not able to find "Field Values" in Format Style. Please guide me where I have to do it right.

 

Thanks a lot!

 

Shruthi

 

1 ACCEPTED SOLUTION
Praful_Potphode
Solution Sage
Solution Sage

Hi @Shruthiyua ,

 

Conditional formatting based on field value is not possible in databars .

Please follow below video by DAX Jutsu

Data bars using native visuals and SVG in Power BI 

 in this video you will find sample pbix in description which can you design your own logic.

 

Please give kudos or mark it as solution once confirmed.

 

Thanks and Regards,

Praful

View solution in original post

3 REPLIES 3
Praful_Potphode
Solution Sage
Solution Sage

Hi @Shruthiyua ,

 

Conditional formatting based on field value is not possible in databars .

Please follow below video by DAX Jutsu

Data bars using native visuals and SVG in Power BI 

 in this video you will find sample pbix in description which can you design your own logic.

 

Please give kudos or mark it as solution once confirmed.

 

Thanks and Regards,

Praful

grazitti_sapna
Super User
Super User

Hi @Shruthiyua,

Please follow the below steps:
Make sure you are using a matrix and choosing a specific column and under that conditional formatting. 

Following above steps you'll be able to see format style- fields value.

grazitti_sapna_0-1761123675706.png

 

After choosing field value. Pick your meausre or column created for confitional formatting.

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.

💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.

🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.

🔗 Curious to explore more? [Discover here].

Let’s keep building smarter solutions together!

Hi @grazitti_sapna ,

 

Thanks for the response!

I hope the your response checks for Background color on 'Values' in Matrix table.

 

I am looking to add conditional formatting for 'Values' (in this case Variance %) with Databars based on Format Style  -> Rules/Field Value.

I am able to look at Rules/Field Value for Background color, Font Color etc., but not for Databars.

 

Shruthiyua_0-1761129962312.png

 

Shruthiyua_2-1761130079454.png


Thanks,

Shruthi

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.