Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
would like to change slightly the formatting of numbers inside tables, similar to the formatting feature in card visuals. For this reason, am using the FORMAT function and converting numbers to text. However, when trying to use K for thousands, M for millions my syntax seems to be incorrect.
The correction I am currently using is: "[>=1000]€ #.##0."K";[<=-1000]-€ #.##0." K";0". Could you please advise on any correction I could make inside the tables, to visualize the numbers in a more simple and easy to read way? (e.g $231,121,214.23 as $231.1M)
Moreover, is there a way to visualize negative percentage values in brackets and not with the minus sign (e.g (5%) instead of -5%)?
Ideally, I would not want to change any numbers into text, probably the FORMAT function is not the only one.
Will be very grateful for any advice on it.
Thank you and Regards,
Atanas
Solved! Go to Solution.
To get your desired result, we need to change your number into text with following DAX formula. With number type, we can make it show the result which you mentioned above.
Per Col = FORMAT ( Table1[Percent], "#,##0.00%;($#,##0.00%)" )
Num Col =
IF (
Table1[Number] >= 1000000,
FORMAT ( Table1[Number], "#,##0,,m" ),
IF (
Table1[Number] >= 1000,
FORMAT ( Table1[Number], "#,##0,k" ),
FORMAT ( Table1[Number], "General Number" )
)
)
Best Regards,
Herbert
To get your desired result, we need to change your number into text with following DAX formula. With number type, we can make it show the result which you mentioned above.
Per Col = FORMAT ( Table1[Percent], "#,##0.00%;($#,##0.00%)" )
Num Col =
IF (
Table1[Number] >= 1000000,
FORMAT ( Table1[Number], "#,##0,,m" ),
IF (
Table1[Number] >= 1000,
FORMAT ( Table1[Number], "#,##0,k" ),
FORMAT ( Table1[Number], "General Number" )
)
)
Best Regards,
Herbert
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 49 | |
| 44 | |
| 42 | |
| 39 | |
| 32 |