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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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