Forum Discussion
tryan
9 years agoFrequent Visitor
calculate function
I need some help understanding how the SUMIFS function works in DAX for power pivot. I've read that some combination of CALCULATE and FILTER works, but I can't get it to work dynamically with my 6,0...
- 9 years ago
Ok I read your post too fast... here it is you were actually very close
Column / Measure = CALCULATE ( SUM ( 'Table'[Transaction Amount] ), FILTER ( ALL ( 'Table'[Transaction Type] ), 'Table'[Transaction Type] = "Withdrawal" || 'Table'[Transaction Type] = "Addition" ), ALLEXCEPT ( 'Table', 'Table'[Client Number], 'Table'[Month] ) )Good Luck! :smileyhappy:
https://www.sqlbi.com/articles/filter-arguments-in-calculate/