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?
Thanks.
Anonymous
Hi
= CALCULATE ( SUM ( TableName[SalesAmount] ), ALLEXCEPT ( TableName, TableName[Sales-Country], TableName[Year-Week] ) )
2 Replies
- Zubair_MuhammadCommunity Champion
Anonymous
Hi
= CALCULATE ( SUM ( TableName[SalesAmount] ), ALLEXCEPT ( TableName, TableName[Sales-Country], TableName[Year-Week] ) )- AnonymousNot applicable
Zubair_Muhammad That works, thanks!