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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
AUS2029
Regular Visitor

PBI only recognize % as Text type after using Dax: Format ( value, "0.0%) - Help

Capture.PNG

 

Used below DAX to format set of numbers, inorder to show percentage as percentage, number as numbers.

 Value =  if([Value]<-1,[Value],if([Value]<1,FORMAT([Value],"0.0%"),[Value]))
 
eg: 100,000  will show as 100,000
  0.1 will show as 10%.
 
However, once used the above DAX, the % value cannot be treated as number, been recongized as TEXT only.
PBI will give error message, if want to do a simple subtraction such as 25% - 10% .
 
1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

The FORMAT() syntax always converts the value to string. So if your aim is to make calculations it is not possible to use FORMAT().

To my knowledge you will not be able to mix percentage with number formatting while still maintaining numeric format on your column/measure.


Connect on LinkedIn

View solution in original post

4 REPLIES 4
LR_PublicHealth
Regular Visitor

In case anybody stumbles across this in future, you can now select "dynamic" formatting from the taskbar and use an expression to alter formatting between % and # as needed. For example:

LR_PublicHealth_0-1707244797994.png

 

tex628
Community Champion
Community Champion

The FORMAT() syntax always converts the value to string. So if your aim is to make calculations it is not possible to use FORMAT().

To my knowledge you will not be able to mix percentage with number formatting while still maintaining numeric format on your column/measure.


Connect on LinkedIn

Is it possible nowadays?

 

tex628
Community Champion
Community Champion

Hi @vitorgps ,

To my knowledge this is still the case. 

But you can always have a completly numeric measure in the backgroud that you use for calculations, while displaying the formatted one. 

So if you have two formatted measures displaying both numeric and percentage formats: 
Measure 1 (formatted)
Measure 2 (formatted) 

You can then have copies of those, that are completly numeric:
Measure 3 (numeric)
Measure 4 (numeric) 

You can then calculate a new measure 5, dependant on measure 3 & 4. Then you format measure 5 to match the formatting of 1 & 2. 

Hope this helps, 
J




Connect on LinkedIn

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors