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.

Dynamic Format String not formatting all numbers in column charts

Not sure if this is an issue others have experienced, but the dynamic format string is giving me problems in a very specific case. This seems to only be happening in a column/bar chart, when I have Total labels enabled, and a column in the "Legend" section.

 

See below:

peterg0417_0-1690392489429.png

 

I can share a PBIX file if necessary, but I will need a bit of time to remove any identifiable references (the actual data set itself has already been masked).


This is what my custom format string looks like:

SWITCH (
    TRUE (),
    SELECTEDMEASURE () < 1000, "$#,##0",
    SELECTEDMEASURE () < 1000000, "$#,##0,.0K",
    SELECTEDMEASURE() < 1000000000, "$#,##0,,.0M",
    "$#,##0,,,.0B"
)
Status: Investigating

Hi @peterg0417 ,

 

I made a simple test that you can try change  values to none.

vxiaoyanmsft_0-1690536908899.png

 

 

 

Best regards.
Community Support Team_Caitlyn

 

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi @peterg0417 ,

 

I made a simple test that you can try change  values to none.

vxiaoyanmsft_0-1690536908899.png

 

 

 

Best regards.
Community Support Team_Caitlyn

 

peterg0417
Helper II

I already changed the "Display units" initially and it didn't work.

 

Please note that this happens  for "Total labels" when a dimension data field is in the "Legend" section. Not "Data labels"

peterg0417
Helper II

Is there any progress on this issue? I tried another data set to see if maybe it's my actual data that is causing this issue, but it's happening with a sample dataset as well.

 

See screenshot:

peterg0417_1-1692815649073.png