Forum Discussion
nkasdali
7 years agoMicrosoft Employee
SUM with different at level
Hi All,
Let say that i have a table with this structure : Code_Orga, Code_Country, Date, Total_Sales.
I want to know how i can do in dax to get Total_Sales for each Orga, Country and date ?
Thanks for your help
Hi,
Got it ! using the function ALLEXCEPT
:)
3 Replies
- PattemManoharCommunity Champion
nkasdali Please try this as a "New Table"
Output = SUMMARIZE(InputTableName,Code_Orga,Code_Country,Date,"TotalSales",SUM(Total_Sales))
- nkasdaliMicrosoft Employee
Hi,
thansk for your help.
Using Summarize will return a new table, in my case i wanted to add a column. ;)
- nkasdaliMicrosoft Employee
Hi,
Got it ! using the function ALLEXCEPT
:)