Forum Discussion
Anonymous
7 years agoNot applicable
Aggregate calculated column by category
Hi all New to DAX/Power BI, and I have the following issue. I have the data from column A-D, and I want to calculate column E. Can anyone point me in the right direction? ...
- 7 years ago
Anonymous
Hi
= CALCULATE ( SUM ( TableName[SalesAmount] ), ALLEXCEPT ( TableName, TableName[Sales-Country], TableName[Year-Week] ) )
Zubair_Muhammad
7 years agoCommunity Champion
Anonymous
Hi
=
CALCULATE (
SUM ( TableName[SalesAmount] ),
ALLEXCEPT ( TableName, TableName[Sales-Country], TableName[Year-Week] )
)
- Anonymous7 years agoNot applicable
Zubair_Muhammad That works, thanks!