The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello All,
I have a measure which i need to show in 1000 seperators.
I have multiple options but none of them have given me the right results.
Like, i have used custom format as "$#,0" under properties of a measure in model view.
But it is showing can't convert number to text,
I have tried in Data Modeling still throwing the same error.
Solved! Go to Solution.
Method1 - click on the thousand comma
Method 2 - set the thousand sepperator
Method3 - use DAX
Amount 3 =
FORMAT(
SUM(yourdata[Amount3]),
"$#,0"
)
Please click the [accept as solution] and the thumbs up button. Thank you
Hi @MohanV125286 ,
I couldn't agree more with MohanV125286.
But I noticed you mentioned “it is showing can't convert number to text”, I think you need to make sure your Measure is presenting the full number type.
You can also look at this document: Use custom format strings in Power BI Desktop - Power BI | Microsoft Learn
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I have added format (
) i am getting an error.
Please read the 3 methods I provided earlier, and follow those instructions exactly.
Your method does not work because it is using a text [measure] instead of a numberic column.
I have tried this but i still can't get the solution
Hi @MohanV125286 ,
I couldn't agree more with MohanV125286.
But I noticed you mentioned “it is showing can't convert number to text”, I think you need to make sure your Measure is presenting the full number type.
You can also look at this document: Use custom format strings in Power BI Desktop - Power BI | Microsoft Learn
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have tried this but i still can't get the solution
Method1 - click on the thousand comma
Method 2 - set the thousand sepperator
Method3 - use DAX
Amount 3 =
FORMAT(
SUM(yourdata[Amount3]),
"$#,0"
)
Please click the [accept as solution] and the thumbs up button. Thank you