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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
Super User
Super User

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
Super User
Super User

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.