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
iBusinessBI
Kudo Collector
Kudo Collector

Dynamic Format Data Labels not working in charts

I've created a measure with dynamic format (April 2023 version)

It is working fine in matrix but when I put it in a chart (bar/line) - it is not working. (I try to change "Display Units" from "Auto" to "None" - still not good)

Am I missing something? Is it a bug? How do I report this?

Please help

Link to Power BI file:

https://1drv.ms/u/s!AoP_9ampPIT7gdI6F4F7SElNOFvkhA?e=tLwb1N

iBusinessBI_0-1685718102538.png

 

 

17 REPLIES 17
EHA_SD
Advocate I
Advocate I

I am having a similar issue when trying to display time values (e.g. 9hr 37min 16sec, or 54min 23sec, or 00:30:59) using dynamic formatting. I have also tried selecting 'none' as the axis format.

DynamicFormattingExample.png

spham1215
Frequent Visitor

I am encountering a similar error where the axis of a stacked column chart loses the dynamic formatting when a legend is applied to the visual. Is dynamic formatting not working properly?

v-yangliu-msft
Community Support
Community Support

Hi  @iBusinessBI ,

 

The PG team is already dealing with this problem. The specific repair time has not yet come out. The team is also stepping up the repair. If there is progress, I will update it as soon as possible.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yangliu-msft 
Any update?

Hi is there an update on this bug fix?

DimaMD
Solution Sage
Solution Sage

@iBusinessBI Hi, 

DimaMD_0-1687519736053.png

 


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

I don't want a decimal place to be shown. 
It is clearly a bug. 

v-yangliu-msft
Community Support
Community Support

Hi  @iBusinessBI ,

 

Sorry to reply to you only now.

I have reported the issue internally, if there is any progress, I will update here.

 

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you, @v-yangliu-msft 

What is the estimated fix date? We are working hard to correct the bug building custom override measures instead of using dynamic format.

 

v-yangliu-msft
Community Support
Community Support

Hi  @iBusinessBI ,

I opened it and it shows fine

vyangliumsft_0-1686031080841.png

You can set both "Y-axis -- Values -- Display units" and "Data labels -- Values -- Display units" to to None

vyangliumsft_1-1686031080843.png

This is the version number of my Power BI Desktop, are you up to date with Power BI Desktop, if not, you can update it in the following Link and then open it to see if Visual displays properly:

https://www.microsoft.com/en-us/download/confirmation.aspx?id=58494

vyangliumsft_2-1686031115127.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Team,

I am also facing same issue after using dynamic number format Data Lables are not working in y-axis,I have changed the Dispaly Units to None ,still its not working,

Dynamic Format:

VAR _locale =
    SELECTEDVALUE ( Locale[Locale] )
RETURN
    "'"
        & FORMAT (
            SELECTEDMEASURE (),"#,##0.00",_locale
        ) & "'"
Please help on this.
 
Thanks and Regards
Suhasini G Metri

@v-yangliu-msft 

Hi Liu, so do you see the bug?

 

@v-yangliu-msft 

We have the same PBI version.

It does show fine in the chart, only in the Matrix.

For A:

In the Matrix it shows 20,000 K (Correct)

In the Chart it shows 20,000,000 K (Not Correct)

You can also see it in the snapshot you've made - in your snapshot it also shows incorrectly.
Please confirm that you see this bug.

@v-yangliu-msft 
Liu?
Can some in Microsoft team confirm it is a bug?

amitchandak
Super User
Super User

@iBusinessBI , Followed the code given in this blog from Microsoft and it worked for me. Scroll down on the page and try

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-the-new-dynamic-format-strings-for-measures/

Hello,

I have followed the same link,but no luck.

Thanks and Regards

Suhasini G Metri

Well, it doesn't work...

It does for matrix, but not for Data Labels in charts.

Have you seen the file I've attached?

 

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.