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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mroot
Frequent Visitor

Conditional Formating Power BI Custom Visual

Hi all,

 

I am trying to implement the condition formatting that was released not too long ago.

 

I am scratching my head about one thing I am seeing and was wondering if anyone can point me in the right direction.

 

When adding the code from the documention, the conditional function button (fx) gets appended to each data point in the format panel. 

 mroot_0-1616187926397.png   

Since conditionally formating one data point will apply to them all, it would make sense to make it look like what the 'stacked bar chart' is doing which is only adding it to the first data point:

 

mroot_2-1616188371521.png

 

Even better would be to add the 'show all' toggle so the decault color represents all the data points:

mroot_1-1616188091149.png

 

Does anyone know how to achieve these two goals?

 

Thanks,

 

Matt

 

 

 

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

Hi @mroot ,

From the following paragraph from the official documentation, it seems that the function you expect is not yet available. Maybe you can go to Github for help.


We recommend that you don’t use conditional formatting with series. Instead, you should allow customers to format each series individually, making it easy to visually distinguish between series. Most out-of-the-box visuals with series, share this approach.


Best Regards

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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