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

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

Reply
Anonymous
Not applicable

Conditional formatting on data type in chart

Hi! 

 

In my report I have a bar chart which shows values which are dependent on which category you choose in a filter. However the values are always shown in one format, based on the data type.

Is there a way to format some values (dependent on which category you choose) as a percentage and others as a whole number for instance?

 

Or is the only way to split up the data in your datamodel in two fields? (one formatted as percentage, the other as whole number). However this would mean I cannot use one datafield for the chart and one filter.. 

 

Hope somebody has an idea! 

 

Many thanks in advance!

 

Max

2 REPLIES 2
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Please can you provide a data sample and the expected outcom.


The below will help you get your question answered quickly, please read it.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Best Regards,
Mariusz

Please feel free to connect with me.
Mariusz Repczynski

 

Anonymous
Not applicable

Hello,

 

He probably meant something like this:

 

DESCRIPTION                                                             TYPE            VALUE
Average # services per case (excluding info cases)      #              0.482515549
Average # services per case (excluding info cases)      #              0.403145397
Average # services per case (excluding info cases)      #              3.088306458
ROS rate                                                                       %              0.732774807
ROS rate                                                                       %              0.726065676
ROS rate                                                                       %              0.739737388
ROS rate                                                                       %              0.724623188

 

So, the question would be, how to conditionally change the data type for the values of "value" depending on the character of the column "type".

 

Thank you

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.