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
niculeica
Frequent Visitor

Totals on Quarter do no reflect SUM(Totals of Months)

Hi, PBI community,

 

I'm experiencing some troubles with displaying Quarter Totals, namely they do not reflect the SUM of Month's Totals, but the total of the last month of the quarter.

 

I'm working in a matrix, and everything seems fine in terms of calculations, however the totals do not cummulate accordingly.

 

niculeica_0-1698797387912.png

 

Any idea what could possibly cause it?

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@niculeica , This can happen when you use row context in meausre

Assume your measure is M1

Create a new measure 

 

M2= Sumx(Summarize(Fact, Date[Month], Fact[Type], "_1", [M1]) , [_1])

View solution in original post

2 REPLIES 2
niculeica
Frequent Visitor

Thank you, @amitchandak, the solution turned out to be the one needed.

 

With this settled, is it possible to calculate M2 as a running total, M3 let's call it? I've tried even the quick measure's Running total, and won't return the expected. It actually returns the same as M2.

amitchandak
Super User
Super User

@niculeica , This can happen when you use row context in meausre

Assume your measure is M1

Create a new measure 

 

M2= Sumx(Summarize(Fact, Date[Month], Fact[Type], "_1", [M1]) , [_1])

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.