Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
GeorgeGokmen
Helper I
Helper I

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.

 

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @GeorgeGokmen 

 

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

Table:

d1.png

 

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.

d2.png

 

Result:

d3.png

 

Best Regards

Allan

 

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

 

 

View solution in original post

6 REPLIES 6
v-alq-msft
Community Support
Community Support

Hi, @GeorgeGokmen 

 

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

Table:

d1.png

 

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.

d2.png

 

Result:

d3.png

 

Best Regards

Allan

 

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

 

 

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

 

GeorgeGokmen
Helper I
Helper I

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.

 

Answered here. Consider deleting this thread as it is a duplicate.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
amitchandak
Super User
Super User

@GeorgeGokmen ,

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

Data Format.pngDatatype in new ribbion.png

 

edhans
Super User
Super User

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.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.