Forum Discussion
Ratio Calculation with SUMMARIZE
- 2 years ago
If it can help, I found a solution to my problem. I used the table only for the sum of sales, linking the table only with the calendar table. Then, I used the sum according to the date filter.
Most likely you wanted to use ALLSELECTED rather than ALL.
REMOVEFILTERS might be a gentler approach.
- RedaBi2 years agoFrequent Visitor
Thank you for your response, Unfortunately, it doesn't work. When I drag the "Total Ventes" column along with the 'Prélevement'[Distrib] column into a table, the amount is correct, but the ratio is not. I think the issue lies in calculating the total sales of all distributors with the formula CALCULATE(SUM('Prélevement'[Facial]), ALL('Prélevement')).
Please note that the "Prélevement" table is related to a "Calendar" table. Maybe the total needs to be filtered according to the dates specified in the calendar?