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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Amanda_Souza
Regular Visitor

How to make the dynamic data label?

How to make the dynamic data label? Showing millions, thousand in columns of the same graph...

 

Example, I want it to show 16Mi and 28k, instead of 0MiExample, I want it to show 16Mi and 28k, instead of 0Mihelp1.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Amanda_Souza ,

Since you add the measure to the option Tooltips, it will only shows the value of this measure with custom format when you hover over a data point on the column chart(see the below screenshot). The value of the data label still keep the original ones...

Customize tooltips in Power BI

yingyinr_0-1668153679273.png

Best Regards

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Amanda_Souza ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Anonymous
Not applicable

Hi @Amanda_Souza ,

Base on my research, there no option to customize set the format of label values base on the different value range. You can refer the following blog to create another measure to get the value with different format and apply this measure onto Tooltips option.

Power BI - Change display unit based on values in table - Power BI Docs

Custom Display unit =
Var TotalSale = SUM('Global-Superstore'[Sales])
Var decimals = "0.0"
RETURN
SWITCH ( TRUE() ,
TotalSale > 1000000 , FORMAT ( TotalSale / 1000000 , decimals & "M" ) ,
TotalSale > 100000, FORMAT ( TotalSale / 100000 , decimals & "L" ) ,
TotalSale > 1000 , FORMAT ( TotalSale / 1000 , decimals & "K" ) ,
FORMAT ( TotalSale , decimals )
)

yingyinr_0-1668050147378.png

Customize tooltipsCustomize tooltips

Best Regards

Hi, I did as you said but it only works in the table visual, when I switch to the column chart visual it keeps showing 0Mi... Could you try with using the column chart please?help1.pnghelp1-2.png

 

Thanks a lot!!

Anonymous
Not applicable

Hi @Amanda_Souza ,

Since you add the measure to the option Tooltips, it will only shows the value of this measure with custom format when you hover over a data point on the column chart(see the below screenshot). The value of the data label still keep the original ones...

Customize tooltips in Power BI

yingyinr_0-1668153679273.png

Best Regards

daXtreme
Solution Sage
Solution Sage

As far as I know, you can't do this natively since there's no conditional formatting on this item. Your only hope could be (but not necessarily will) Calculation Groups/Items. But this is rather advanced topic. You need to use an external tool for this: Tabular Editor.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.