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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.