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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
skean21
Regular Visitor

Problem with conditional formatting in column chart

Dear community, 

 

I have the following problem creating a conditional formatting in a column chart:

 

In the visual there is no graduation shown, all columns have the same color.

 

I created this matrix visual, where data is shown like this:

NameDifferenceMargin Index
Product A3105584,22179718
Product B18916110,8132923
Product C-1722479,34762554
Product D-23317

9,246055122

 

Then I created a column chart shows the value "Difference" for each product.
I have set a conditional formatting for the chart based on the field "Margin Index" with min-max option selected.

All the columns have the same color, there is no graduation. Also, when I drag the field "Margin Index" into "QuickInfo", every column shows the same value (440.000).

 

"Name" and "Difference" come from table A, "Margin Index" is a calculation in table B.

The tables are joined based on "Name" from table B to table A.

 

In the table structure of table A, each product has several entries. In table B, there is only 1 entry for each product (sample below)

 

table A:

NameDifference
Product A10
Product A15
Product A100
 
  
table B: 
NameMargin Index
Product A84,22179718
Product B110,8132923
Product C79,34762554
Product D9,246055122

 

Any idea?

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi @skean21 

You just need to adjust it by these two ways:

"Name" and "Difference" come from table A, "Margin Index" is a calculation in table B.

1.  Please use "Name" from table B.

2. Set cross filter direction is "Both" instead of "Single"

Then it should work.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi @skean21 

You just need to adjust it by these two ways:

"Name" and "Difference" come from table A, "Margin Index" is a calculation in table B.

1.  Please use "Name" from table B.

2. Set cross filter direction is "Both" instead of "Single"

Then it should work.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors