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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Jerush
Helper I
Helper I

Error when formatting number using FORMAT

Hi All

I am trying to format a number in a certain format (space seperator) but getting an error.

Its a simple if statement, and the value that I want to format is a whole number.

Not sure what I am missing or doing wrong. 

Jerush_0-1688038773156.png

 

Thanks everyone.

Regards,

Jerusha

 

3 REPLIES 3
some_bih
Super User
Super User

Hi @Jerush  on link you can find your example. Maybe "Standard" could fit your need. 

I hope this help

https://learn.microsoft.com/en-us/dax/format-function-dax 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Hello @some_bih  
Thank you for the speedy reply. I need the values to read as 1 234 567  So need the a space as a thousandth seperator.

Thank you again.

Jerusha 

Anonymous
Not applicable

Hi @Jerush ,

 

Please make sure that the output of the calculated columns is of the same data type.

Received = IF('Query1'[Mapping]="Premiums",FORMAT('Query1'[Amount],"### ###"),"0")

vcgaomsft_0-1690790379524.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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