Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Dear Power BI Community,
is it possible to show numbers in a apostrophe format?
Two apostrophe '' for billions and one apostrophe ' for millions.
For example:
Best regards,
Marco
@Anonymous Okay use this way.
Go to model in desktop select that measure you wanted to format . in my case it is sales so i selected sales then scroll down till formatting then in format dropdown select custom => paste this string ( 0''#0',###0',##0 ) it will be formated for you then you use it in your calculation .
output will be like this .
This will fulfil your requirement.
Kudos will be appriciated
Thanks for your answer.
There is still one small issue:
It has to be a formatting based on a condition, since if it's below 1 B, it has to be only one apostrophe (e.g. 36'). And if it's more than 1 B, I need two apostrophe for billions and one apostrophe again for the millions (e.g. 7''36'). In Excel you would format it like this: [>=1000000000]#''##0';[<=-1000000000]-#''##0';##0'.
Do you know if that's possible in Power BI?
@Anonymous You can do it but again you have to do it with format () dax then it will be like text field then it will not fulfil your requirement .
or let me do some research on it
@Anonymous Hey Marco ,
idea - FORMAT(your measure ," 0''#0',###0',##0 ")
Result will be like
Try something like this . output will be like this . It will fulfil your requirement .
Kindly refer below document as well for your reference . Power bi desktop-custom-format-strings
Kudos will be appriciated .
Hi HarishKM,
thanks for your response. I've tested your solution and it works for tables.
However, it doesn't seem to work for charts since test is not formated as number anymore.
That's why I can't do calculations with it.
Do you have a solution for that?
Thanks!
Marco
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |