Forum Discussion
Remove "K" but keep data in thousands
Good Day,
I want to know if it is possible to display data in thousands, but without the "K" at the end of the data. We know our reporting is in '000s, we just need the values and the K at the end creates unnecessary clutter.
Thanks!
Write a measure that divides the numbers by 1000
20 Replies
- yachtsman60
Advocate I
Create a measure that equals the value e.g.
Commission (£'000) = [Commission (£)]Then above the DAX formula bar change the Format from General to a formating mask like#,#,.;-#,#,.;"-"This returns the number formatted with a thousands "," seperator, in thousands without decimals.#, is the thousands "," seperator .#,.; is the in thousands ",", without decimals ".;".Then again for negative values."-" defines how 0 are presented.- melaniegabbardRegular Visitor
This one should be marked as the accepted solution in my opinion.
I've searched high and low, and this is the answer that no one else is giving! Perfect! No need to create a measure if everything you need to show should be in thousands.
- DizzyOneMaxRegular Visitor
Indeed a perfect solution. No need to create an extra measure, just take the column from the model as it is.
Works like a charm for the data labels of my stacked bar chart!
I have set the data labels "display units" to "None" and used the formatting mask as described by yachtsman60. - nor303
Helper III
Hi, Ive tried this and it works, perfect! But how will the formatting look if you want millions instead?
- yachtsman60
Advocate I
#,,.;-#,,.;"-"
- Am_46
Advocate I
Step 1: Go to "Visualizations"
Step 2: Click on "Format your visual"
Step 3: Select "Callout Value" under the "Visual" tab
Step 4: Select "none" under "Display Units"
This worked for me! Good luck
- emillanc
Advocate IV
Thank you!
Simply and perfect!
- MattAllington
Community Champion
Write a measure that divides the numbers by 1000
- vjnvinod
Impactful Individual
DieLem MattAllington v-piga-msft
i have similar issue, & if I create a measure and divide it by 1000.
In visuals it looks good, however when the end user extract the data into excel, they want to see the exact number that means not the one which is divided by 1000.
is it possible?
- AnonymousNot applicable
That's not the ideal solution also due to rounding. I was using a /1000 measure and now I'm struggling with not correct results. Mathematically it doesn't make sense but I believe it's a limitation of Power BI.
- TBTD-EgyptRegular Visitor
Click on the measures/Visual <then go to format your visual in the visual tab
In the callout value section select "Display units" to be "None" instead of "Thousands"
Violet Rafik
- AnonymousNot applicable
Thanks a lot, very simple solution 👍
- khalednour0New Member
You are a lifesaver have been looking for a solution for a while, Thank you!
- PKP277Frequent Visitor
Do you have a screen shot of the solution? I do not see Callout value for my Visual. Only see field formatting.
- TBTD-EgyptRegular Visitor
yes here it is
- v-piga-msft
Resident Rockstar
Hi DieLem,
For another option, you could create a calculated column by SUBSTITUTE like below, then change the data type to be whole number.
Column = SUBSTITUTE('Table2'[value2],"K","")The output is below.
Best Regards,
Cherry