Forum Discussion

DieLem's avatar
DieLem
Icon for Helper II rankHelper II
8 years ago
Solved

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!

20 Replies

  • 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.
    • melaniegabbard's avatar
      melaniegabbard
      Regular 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. 

    • DizzyOneMax's avatar
      DizzyOneMax
      Regular 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's avatar
      nor303
      Icon for Helper III rankHelper III

      Hi, Ive tried this and it works, perfect! But how will the formatting look if you want millions instead?

       

  • 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

  • MattAllington's avatar
    MattAllington
    Icon for Community Champion rankCommunity Champion

    Write a measure that divides the numbers by 1000

    • vjnvinod's avatar
      vjnvinod
      Icon for Impactful Individual rankImpactful 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?

    • Anonymous's avatar
      Anonymous
      Not 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-Egypt's avatar
    TBTD-Egypt
    Regular 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

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks a lot, very simple solution 👍

       

    • khalednour0's avatar
      khalednour0
      New Member

      You are a lifesaver have been looking for a solution for a while, Thank you!

    • PKP277's avatar
      PKP277
      Frequent Visitor

      Do you have a screen shot of the solution? I do not see Callout value for my Visual.  Only see field formatting.

       

  • v-piga-msft's avatar
    v-piga-msft
    Icon for Resident Rockstar rankResident 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