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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TerrAustria
New Member

Custom Number Format with Unit gets messed up

Hi guys,

 

I am having an issue with showing custom number formats in PowerBI.

The goal is to show the Unit of a number, in my case "kWh", so the custom number format I applied to my measure is:

 

###,###,###,###,###.00 kWh

 

This works ok until I change the display of numbers in the Visual on the Dashboard to Thousands, Millions, etc.

 

Then the result looks like this:

powerbi_formats04.png

 

You see that "kWh" gets trimmed to "h" at the end for some reason.

Expected result would have been "2,379.32 Tsd kWh"

 

I tried to escape the unit with "###,###,###,###,###.00 \k\W\h" but this changes nothing.

 

What can be done?

 

thanks!

Stefan

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @TerrAustria 

In place of applying Thousand/Millons in visual level.
Please use DIVIDE in measure like
For Thousand = DIVIDE(your measure,1000)
For Millions = DIVIDE(your measure,1000000)

Appreciate your KUDOS/LIKE , If solve your question, mark this answer as SOLUTION

Thanks
Pijush






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

Proud to be a Super User!





View solution in original post

3 REPLIES 3
PijushRoy
Super User
Super User

Hi @TerrAustria 

In place of applying Thousand/Millons in visual level.
Please use DIVIDE in measure like
For Thousand = DIVIDE(your measure,1000)
For Millions = DIVIDE(your measure,1000000)

Appreciate your KUDOS/LIKE , If solve your question, mark this answer as SOLUTION

Thanks
Pijush






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

Proud to be a Super User!





Hi,

 

Thanks for your reply!

 

So this means I just cannot use the visual level fomatting when using custom formats?

 

Do I understand it correctly that this however would mean that I need to duplicate the measure for each scenario?

Because I show this value in daily, weekly, monthly an yearly reports sometimes I need the standard formating and sometimes thousants or millions.

 

so:

measure1

measure1_thousant
measure1_million

 

?

 

thanks

Stefan

Hi @TerrAustria 

I always use same tricks




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

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.