Forum Discussion
nmhung49
Helper II
5 years ago% Propotion In Maxtrix
Hi everyone,
I have a table and I would like to get % Propotion for by Months
I'm having difficulty in writing formulas DAX for this case
Now my dax only correct for Grand Total
For example, as shown below
Your measure was right except for the ALLSELECTED argument: it needs Data[Product] instead of the entire Data table.
%Propotion = DIVIDE ( [Total sale], CALCULATE ( [Total sale], ALLSELECTED ( Data[Product] ) ) )
1 Reply
- DataInsights
Super User
Your measure was right except for the ALLSELECTED argument: it needs Data[Product] instead of the entire Data table.
%Propotion = DIVIDE ( [Total sale], CALCULATE ( [Total sale], ALLSELECTED ( Data[Product] ) ) )