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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
db400
Frequent Visitor

"Value decimal places" setting not working correcly for matrix

For my matrix, I have "Value decimal places" set to "0" but my percent of total row is still showing decimals. What am I doing wrong?

 

db400_0-1695249215854.png

 

db400_1-1695249243161.png

 

db400_3-1695249356943.png

 

db400_4-1695249384468.png

 

 

 

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

Hi @db400 

1.Please check that the the series you have selected is the '% of total' e.g 

vxinruzhumsft_1-1695794748829.png

 

2.You can try to format your measure to the following

e.g 

Measure 2 = FORMAT(DIVIDE(SUM('Table'[Count]),SUMX(ALLSELECTED('Table'),[Count])),"0%")

Output

vxinruzhumsft_2-1695794818335.png

Best Regards!

Yolo Zhu

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

2 REPLIES 2
v-xinruzhu-msft
Community Support
Community Support

Hi @db400 

1.Please check that the the series you have selected is the '% of total' e.g 

vxinruzhumsft_1-1695794748829.png

 

2.You can try to format your measure to the following

e.g 

Measure 2 = FORMAT(DIVIDE(SUM('Table'[Count]),SUMX(ALLSELECTED('Table'),[Count])),"0%")

Output

vxinruzhumsft_2-1695794818335.png

Best Regards!

Yolo Zhu

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

 

Ritaf1983
Super User
Super User

Hi @db400 
This happens because you use automatic aggregations.
You can get the same results with measures.
Unfortunately, I am out of the limit of images that I can add to the discussions, so I prepared som sample files and recorded the screens.
Link to recorded screens: mp4 

Link to a sample file: PBIX 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.