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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.