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
tan_thiamhuat
Post Patron
Post Patron

how to show K and M values in Pie Chart

tan_thiamhuat_0-1748846310897.png

 

How can I show those K and M values in a Pie Chart?

1 ACCEPTED SOLUTION
nilendraFabric
Super User
Super User

Hi @tan_thiamhuat 

 

Click on your Pie Chart visual.
• Go to the “Format” pane (paint roller icon).
• Expand the “Data labels” section.
• Find the “Display units” dropdown.
• Select “Thousands” (or “K”).

View solution in original post

5 REPLIES 5
v-menakakota
Community Support
Community Support

Hi @tan_thiamhuat , 

Thanks for reaching out to the Microsoft fabric community forum. 

I would also take a moment to thank @nilendraFabric  and @burakkaragoz  , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference. 
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster. 

Best Regards, 
Menaka.
Community Support Team 

nilendraFabric
Super User
Super User

Hi @tan_thiamhuat 

 

Click on your Pie Chart visual.
• Go to the “Format” pane (paint roller icon).
• Expand the “Data labels” section.
• Find the “Display units” dropdown.
• Select “Thousands” (or “K”).

burakkaragoz
Community Champion
Community Champion

Hi @tan_thiamhuat ,

 

If you're working with a Pie Chart visual in Power BI and want to keep the K and M suffixes (like 400.57K or 3.52M) visible in the chart labels, here's a trick that usually works well:

  1. Create a new column in Power Query or DAX that formats the numbers as text with the suffixes. Something like:
   BookingLabel = 
   VAR val = [BookingCount]
   RETURN 
       SWITCH(
           TRUE(),
           val >= 1000000, FORMAT(val / 1000000, "0.00") & "M",
           val >= 1000, FORMAT(val / 1000, "0.00") & "K",
           FORMAT(val, "0")
       )
  1. Then use this new column as the Legend or Details in your Pie Chart, and keep the original numeric column in the Values field.

This way, the chart still uses the actual numbers for calculation, but the labels show the formatted version.

Also, make sure Data label display units in the visual formatting pane is set to None, so it doesn’t override your custom formatting.

Let me know if you're using a specific tool like Fabric's Direct Lake or semantic model, cause the approach might slightly differ.

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.

I have 3 types of booking, so what does your BookingCount refers to?

Hi @tan_thiamhuat ,

Thank you for reaching out to us on the Microsoft Fabric Community Forum.


If you're looking to show K/M formatted values (like 704.28K, 3.52M) directly inside a Pie Chart, Power BI doesn't allow custom-formatted values directly in the "Values" field of the pie. However, there’s a workaround that gives you both accuracy and formatting clarity.

I have shared you pbix file in which i have created two reports one is the pie chat report.

vmenakakota_0-1749103946654.png

 

 

Since the Pie Chart itself limits how labels can be customized, I used a slicer to select the BookingType, and a Card visual to dynamically show the formatted FormatedBookingCount value (e.g., "704.28K"). This was done inside a dedicated tooltip page, which is then attached to the Pie Chart.In the pbix file page2 check the report.

vmenakakota_1-1749104002645.png

vmenakakota_2-1749104245183.png

 

vmenakakota_3-1749104252044.png

 

 

 

 



So when a user hovers over a slice, they get a clear, styled card showing the formatted value, without affecting the numeric logic of the chart itself.

This approach also makes it easier to scale across visuals and avoids truncation issues in Pie Chart labels.
If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.


Best Regards, 
Menaka.
Community Support Team  

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!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric 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.