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
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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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