This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hello,
I have a column which is a mixture of numbers and N/A.
Is there a way of formatting the column into thousands using a custom column rather then in the table. I want the N/A to be shown in the table but cannot format the numbers there due to the fact it is a mix of numbers and text.
Any help would be great.
Solved! Go to Solution.
You can do this as a new column in Power Query:
and the code for the custom colum is:
try Text.From( Number.FromText([Value]) / 1000) & "k" otherwise "N/A"
You can do this as a new column in Power Query:
and the code for the custom colum is:
try Text.From( Number.FromText([Value]) / 1000) & "k" otherwise "N/A"
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 35 | |
| 24 | |
| 20 | |
| 19 |