Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

PowerBI Matrix Format - Fixed Decimal Number

PowerBi Matrix displays the values with additional decimals although Query has adtional step to format the cells as Fixed Decimal Number (Currency $).

 

How can I force the matrix to display only two digits? 

 

Screenshot:

https://bit.ly/2Whozgz 

 

Thank you.

 

  • Hi, Anonymous 

     

    Based on your description, I created data to reproduce your scenario.

    Table:

     

    You may create a measure like follows.

     

    Result = ROUND(SUM('Table'[Score]),2)

     

     

    Then you may make the measure selected, go to 'Modeling' ribbon, set 'Decimal places' as 2.

     

    Result:

     

    Best Regards

    Allan

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

6 Replies

  • edhans's avatar
    edhans
    Community Champion

    One way is to click on the measure or value itself, then on the Measure Tools toolbar (this is the new ribbon), change the format to what you want and set the decimal places.

     

    The other way is if it is a measure, wrap it with ROUND(YourMeasureHere,2) just like you would in Excel. 

     

    If it isn't a measure but a value you've dropped into a visual, this is one of the reasons you should always make measures for values, as you'll be limited to just visually changing it via the first method above, but underneath, it is keeping all of that small data around.

     

  • Anonymous ,

    Try to change the format and decimal place. Sometimes it takes a few seconds to reflect.  Click on your field, column or measure and then use format and data type

     

  • v-alq-msft's avatar
    v-alq-msft
    Community Support

    Hi, Anonymous 

     

    Based on your description, I created data to reproduce your scenario.

    Table:

     

    You may create a measure like follows.

     

    Result = ROUND(SUM('Table'[Score]),2)

     

     

    Then you may make the measure selected, go to 'Modeling' ribbon, set 'Decimal places' as 2.

     

    Result:

     

    Best Regards

    Allan

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      It was fixed only after rounding to zero digits. Thank you. 

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    PowerBi Matrix displays the values with additional decimals although Query has adtional step to format the cells as Fixed Decimal Number (Currency $).

     

    How can I force the matrix to display only two digits? 

     

    Screenshot:

    https://bit.ly/2Whozgz 

     

    Thank you.