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
Anonymous
Not applicable

Treemap -- Change the look of Value (Thousand, Million, Billion) while hover over to a treemap

Hi Power BI Gurus,

 

I want to change the "Imports Value" while hovering over to a treemap, as seen in the attached image. Import value is in a million for example; $107,833,393.6 should look like $107.6M. Is there any possibility to do it in Power BI?

157886461_146380307266216_3433774581306608383_n.jpg

 

 

 

 

 

 

 

Thanks in advance for your support.

Regards,

Ahsan 

2 REPLIES 2
negi007
Community Champion
Community Champion

@Anonymous In this case you will have to create a new measure like below since you can customize data lable values but not tooltip value.

 

Measure = [Measure]/1000000 & "M"

 

use this in the tooltip. 




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



Proud to be a Super User!


Follow me on linkedin

AllisonKennedy
Super User
Super User

@Anonymous  You can have a go at using the custom number formatting though it is limited: https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings

 

Otherwise you could create a measure that does the formatting for you, either using the FORMAT function, or simply:

 

Formatted Imports Value = DIVIDE( [Imports Value], 1000) & "K"


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.

Top Solution Authors