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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
chudson
Helper IV
Helper IV

SUMIFS Measure Like DAX to sum by period and category in a table visual

I have a table, example below that I'm trying to create a sum measure that will return The Cumulative Rep Revenue by Month.  The should return column is the expected result from the measure based on the Rep and Month in the Example.

 

I tried using calculate sum but can't get it to work with the filters.

Can someone help with the DAX measure.

 

RepProductMonthRevenueShould Return
BobA2019-0110003000
BobB2019-0120003000
BillB2019-015001200
BillC2019-017001200
BobA2019-02200200
BillB2019-0212001200
BobA2019-035002100
BobB2019-036002100
BobC2019-0310002100
1 ACCEPTED SOLUTION
HotChilli
Community Champion
Community Champion

A measure

Measure 2 = 
CALCULATE(SUM(Table4[Revenue]), ALLEXCEPT( Table4, Table4[Rep], Table4[Month]))

View solution in original post

3 REPLIES 3
HotChilli
Community Champion
Community Champion

A measure

Measure 2 = 
CALCULATE(SUM(Table4[Revenue]), ALLEXCEPT( Table4, Table4[Rep], Table4[Month]))

Hi @HotChilli ,

 

What if the columns in the visual are from different data tables, not the same table source in the dataset?

 

 

Thanks,

Measures evaluate according to context so, depending on these other fields, you may get different results.  You might try a calculated column (DAX is not the same but it's close)

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.