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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
niculeica
Helper I
Helper I

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])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
niculeica
Helper I
Helper I

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])

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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