Forum Discussion
ngct1112
4 years agoPost Patron
DAX - Filter before Summarize
Hi All, I would like to seek some helps for the DAX to summarize the "QTY" by "ID". However, I would like to Filter the "Status" to Ordered only before summarize. ID QTY Status 1 7 Ordere...
- 4 years ago
Try
_Table = SUMMARIZE(FILTER('Table','Table'[Status]="Ordered"),'Table'[ID], "SUM", CALCULATE(SUM('Table'[QTY])))
FarhanAhmed
4 years agoCommunity Champion
Try
_Table =
SUMMARIZE(FILTER('Table','Table'[Status]="Ordered"),'Table'[ID],
"SUM", CALCULATE(SUM('Table'[QTY])))- ngct11124 years agoPost Patron
FarhanAhmed you solution works very fine. May I know how it is possible that your solution can still work without ADDCOLUMN?
Great thanks anyways