Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all, I have this measure, but I wanna separate by commas the thousends in the amounts, how could I do that here in dax w/measures?
Regards
Solved! Go to Solution.
Hi @Anonymous ,
Please try:
Total Demurrage =
VAR txt1 = "Total Demurrage = $"
VAR sum1 =
FORMAT ( SUM ( Elev[Demurrage(credits 1=$150)] ), "0,000" )
VAR txt2 = " Real Amount = $"
VAR sum2 =
FORMAT ( sum1 * 150, "0,000" )
RETURN
txt1 & sum1 & txt2 & sum2
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
Hi @Anonymous ,
Please try:
Total Demurrage =
VAR txt1 = "Total Demurrage = $"
VAR sum1 =
FORMAT ( SUM ( Elev[Demurrage(credits 1=$150)] ), "0,000" )
VAR txt2 = " Real Amount = $"
VAR sum2 =
FORMAT ( sum1 * 150, "0,000" )
RETURN
txt1 & sum1 & txt2 & sum2
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
Thank you so much, you solved it so simple, I did not know that possibility with "FORMAT"
Regards
Use the FORMAT function instead: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings
Thank you so much, I do not why I couldn't use it in my measure
Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |