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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
bsz412
Helper III
Helper III

TAbular editor - for overwriting data labels - number formatting

Hi, 

 

I am creating dynamic labels to my charts in Tabular editor. I noticed that 

VAR totalsales =
FORMAT( ( [Total Sellout] / 1000) , "#,##0.#\K;") this expression returns negative values with 2 minus signs: 

 

bsz412_0-1652984092404.png

 If I modify it and create whole numbers, this is not happening

FORMAT( ( [Total Sellout] / 1000) , "#,##0\K;")

 

How could I fix that?

thank you!

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @bsz412 ,

 

Combine this with the custom naming convention given in the documentation for adjustment, or refer to a similar video presentation.

vhenrykmstf_1-1653297762481.png

 

vhenrykmstf_0-1653297486451.png

Use custom format strings in Power BI Desktop - Power BI | Microsoft Docs

(144) CUSTOM FORMAT STRINGS in Power BI | Making sense of ##0,.0 K - YouTube

 

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.