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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Tito
Helper IV
Helper IV

format the number

Hello, everyone
How can I format the number 1.00054E+16 to 1.00054 in Power Query or with a DAX function.
Thanks

10 REPLIES 10
Tito
Helper IV
Helper IV

1,00054E+16 to 1,00054 *****

@Tito @PaulDBrown Um, at the risk of pointing out the obvious, 1.00054E+16 is in no way, shape or how equivalent to 1.00054. Like, at all. If you want to get 1.00054 from 1.00054E+16 you are going to need to divide by like 1E+16, right?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

OMG!b you are soo right! LOL!More fool me for assuming the "," was the decimal delimiter (which is so in my whereabouts...). Apologies @Tito 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@PaulDBrown  @Greg_Deckler  
That's right. But the numbers are not only with 1E +16, there is also 1E +15 etc. as a solution I divided the column by 10000000.
Thanks for your help

Tito
Helper IV
Helper IV

Hi, 
It does not work
Format1.PNG
originals:
Origenal Format.PNG

PaulDBrown
Community Champion
Community Champion

That's weird. Does the ROUND function work?

 

format decimal.png

 

or....

VALUE(FORMAT())?
format decimal 1.png

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






doesn't work because i have a scientific number

Format.PNGValue2.PNG

PaulDBrown
Community Champion
Community Champion

Are the original columns set as type decimal number?

Otherwise, in Power Query, use the Extract option in the ribbon and select 7 for number of characters and then format as a decimal number





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






General number:
General.PNG

decimal number: 
Dezimal.PNG

PaulDBrown
Community Champion
Community Champion

You can establish the decimal places in the formatting options in the ribbon:

format decimal.png

 Or you can use the ROUND function In DAX:
https://learn.microsoft.com/en-gb/dax/round-function-dax 

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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