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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Help please

Hello, I need help charting cummulative amount by open year. The matrix on the left side is displaying correct cummulative totals, using "Cur Bal running total in Co Year 2" measure,  increasing left to right. But the matrix on the right side is not displaying correct percentages, using measure 3. The line chart looks good but is displaying the cummulative amounts, and not the percentages I need.

akakarlapudi_0-1686596620077.png

akakarlapudi_1-1686596640507.png

akakarlapudi_0-1686598930014.png

 

akakarlapudi_7-1686598485120.png

 

 

akakarlapudi_5-1686598079584.png

 

1 ACCEPTED SOLUTION
some_bih
Super User
Super User

Hi @Anonymous the best practice for ALLSELECTED function in DAX is just use it for visual. Do not use in measure that contain ALLSELECTED. In your example "Cur Bal running total in Co Year 2" measure contains ALLSELECTED and in Measure 3 you call it ("Cur Bal running total in Co Year 2" measure).

Reference: https://www.sqlbi.com/articles/introducing-allselected-in-dax/ 

You should rework you measure/s. 

I hope this help





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






View solution in original post

1 REPLY 1
some_bih
Super User
Super User

Hi @Anonymous the best practice for ALLSELECTED function in DAX is just use it for visual. Do not use in measure that contain ALLSELECTED. In your example "Cur Bal running total in Co Year 2" measure contains ALLSELECTED and in Measure 3 you call it ("Cur Bal running total in Co Year 2" measure).

Reference: https://www.sqlbi.com/articles/introducing-allselected-in-dax/ 

You should rework you measure/s. 

I hope this help





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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