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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
F_Reh
Post Patron
Post Patron

Displaying different Decimal points in Graph (whose X-axis units vary on Slicer selected) ?

Good Afternoon,

 

I have a slicer with 4 options, two of which need to be displayed as whole numbers (with no decimal places) and the other two as percentage (with two decimal places):

 

F_Reh_0-1751903594936.png

 

 

Is this possible ? I tried to look at :

 

1) Y-axis properties of the above bar chart.

2) The four measures linked to the 4 options.

 

But it seems that the decimal places is fixed for the figures for all 4 options (although the graph does show whole numbers for the two options, and percentage for the other two options it does not seem to allow you to vary the decimal places between these different data types)..

 

Kindlly advice.

 

8 REPLIES 8
v-nmadadi-msft
Community Support
Community Support

Hi @F_Reh ,

Could you please confirm if you've submitted this as an idea in the Ideas Forum? If so, sharing the link here would be helpful for other community members who may have similar feedback.


Thank you for being part of the Microsoft Fabric Community.

F_Reh
Post Patron
Post Patron

Not resolved yet. I am not familiar with the technique of combining field parameters with bookmarks.

Hi @F_Reh ,

If the provided workaround is not suitable or too complex and the required feature is important for your functionality Please consider sharing your suggestion in the Power BI Ideas forum
Fabric Ideas - Microsoft Fabric Community ,
where the product team actively monitors user feedback. Ideas with strong community support are more likely to be considered for future implementation. Posting there helps ensure your request reaches the right audience and contributes to shaping the product roadmap.

v-nmadadi-msft
Community Support
Community Support

Hi @F_Reh ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. 

Please feel free to contact us if you have any further questions.

 

Thanks and regards

v-nmadadi-msft
Community Support
Community Support

Hi @F_Reh 

 

May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.


Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @F_Reh ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

danextian
Super User
Super User

Hi @F_Reh 

I am assuming you're not using Field Parameters for measures. Using so would have respected the individual formatting of each measure being referenced. If you're using a conditional measure with a disconnected table, you will need to use dynamic format strings. Example:

IF (
    SELECTEDVALUE ( 'units table'[units] ) IN { "who number 1", "whole number 2" },
    "#,#",
    "0.00%"
)

 Please refer to these:

Create dynamic format strings for measures 

Let report readers use field parameters to change visuals (preview) 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
vojtechsima
Super User
Super User

@F_Reh 
Hey, the issue is that if you leave at Auto, it behaves based on the range between Min and Max values. If Min would be 0 and Max would be 0.9, you would get decimal points for % and whole numbers for the other.

 

vojtechsima_0-1751905705407.png

But because you stylize it as %, therefore the gap is too great (as now it's not from 0 to 0.9, but 0-90 for example), it will automatically use whole numbers and %, even tho your labels can display decimal points.

 

So I am afraid you can't stylise it with the Auto option, if you keep one visual. The easiest solution would be probably to combine field parameters with bookmarks.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.