Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
Solved! Go to Solution.
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] ) ) )
Proud to be a 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] ) ) )
Proud to be a Super User!
| User | Count |
|---|---|
| 52 | |
| 35 | |
| 22 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |