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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Is this a DAX Error ?

This is an error on Data tools but as Tabular is the companion by excellense with Power BI, i'll post this here as a DAX error:

1) Can't format a number to string, every number [at least my 5 tries] where converted to this string 0tri0g
erro1.PNG

 

2) What is this error? 

 

erro2.PNG 

2 ACCEPTED SOLUTIONS
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Please try this formula.

 

Column 2 = FORMAT('Table1'[Column1],"")

Then you could get the right output.

 

format.PNG

 

For reference, you could have a good look at how to use Format function in DAX.

 

If you still need help, for your scenario, it seems that you are working SSAS Tabular, you'd better to post your problem to SSAS Community to get more professional help.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi @Anonymous,


 


About the image you place, it's PowerQuery right? So i can't use it because my PBI reports are connected to SSAS,




Format(aaa, "string") fails and it's an error, right?

 

1. I used Dax foruma with FORMAT function in Power BI not in Power Query.

 

2. It seems that we could not use the parameter like "string" in Format function. You'd better have a good look at this document which introduces how to use the parameter in FORMAT function.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

Please try this formula.

 

Column 2 = FORMAT('Table1'[Column1],"")

Then you could get the right output.

 

format.PNG

 

For reference, you could have a good look at how to use Format function in DAX.

 

If you still need help, for your scenario, it seems that you are working SSAS Tabular, you'd better to post your problem to SSAS Community to get more professional help.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

It works,

Format(aaa, "string") fails and it's an error, right?

 

About the image you place, it's PowerQuery right? So i can't use it because my PBI reports are connected to SSAS,

Hi @Anonymous,


 


About the image you place, it's PowerQuery right? So i can't use it because my PBI reports are connected to SSAS,




Format(aaa, "string") fails and it's an error, right?

 

1. I used Dax foruma with FORMAT function in Power BI not in Power Query.

 

2. It seems that we could not use the parameter like "string" in Format function. You'd better have a good look at this document which introduces how to use the parameter in FORMAT function.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors