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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
vboomer
Frequent Visitor

Power BI Clustered Column Chart Conditional formatting and Analytic line in Power BI Service

In Power BI Desktop, I can add conditional formatting to dynamically color the columns for a Clustered column Chart -  depending on the Value of the column. I can also add in an Analytic average line

 

This works fine in Power BI Desktop. It no longer is allowed on the service....The graphic does not render. I either have to remove conditional formatting or the Analytic Average line. It no longer allows both....

 

Does anyone know what changed here?

1 ACCEPTED SOLUTION
vboomer
Frequent Visitor

Interesting 

I was using the gradient using a measure as the formula and then choose the lower color to the higher value color

 

i ended up using a duplicate measure doing the same calculation for the conditional formatting

 

that worked and could be published 

 

you used to not have to do that

 

something changed in the service

 

but at least I got it to work

 

thank you for responding 

 

View solution in original post

4 REPLIES 4
vboomer
Frequent Visitor

Interesting 

I was using the gradient using a measure as the formula and then choose the lower color to the higher value color

 

i ended up using a duplicate measure doing the same calculation for the conditional formatting

 

that worked and could be published 

 

you used to not have to do that

 

something changed in the service

 

but at least I got it to work

 

thank you for responding 

 

Hi @vboomer 

Thanks for your reply. You can mark helpful replies as solutions and your replies as solutions, so that other members of the community can quickly find relevant solutions when they encounter the same problem, reducing their search time.
Your sharing and cooperation will be the same as our previous community development. Thank you again for your cooperation!

 

Best Regards

Jianpeng Li

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

 

 

v-jianpeng-msft
Community Support
Community Support

Thank you lbendlin 

Hi, @vboomer 

As you described, I use the following sample data:

vjianpengmsft_0-1725329160438.png

In my testing, you need to add an average before using conditional formatting for your columns:

vjianpengmsft_1-1725329343127.png

vjianpengmsft_2-1725329427293.png

vjianpengmsft_3-1725329447293.png

Then publish it to Power BI Service:

vjianpengmsft_4-1725329536988.png

If you're conditionally formatting columns first and then adding averages, you may encounter this error:

vjianpengmsft_5-1725329618975.png

vjianpengmsft_6-1725329627597.png

I've uploaded the PBIX file of this test below.

 

 

Best Regards

Jianpeng Li

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

lbendlin
Super User
Super User

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors