Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I hope you can help me with this problem. I have a table with four columns:
My table contains 50 customers (50 rows). Now I would like to filter the Customernames by using advanced filter to only select the 10 customers with the higest sales. This is fine, but when I do this, the Sales shown as percentage of Grand Total, is based on the Grand Total of only the 10 customers. I need to show it as a percentage of the Grand Total of the 50 customers.
Is this possible?
Thanks.
Solved! Go to Solution.
Hi, try with this measure:
% of Grand Total = DIVIDE ( SUM ( Table1[Sales] ), CALCULATE ( SUM ( 'Table1'[Sales] ), ALL ( 'Table1'[Customer Name] ) ) )
Regards
Victor
Lima - Peru
Hi Angelia
I looked for an answer but did not find it - i do have "Email me when someone replies" but I did not get anything. Also at the top my email says 0.
could you email me and tell me how to get back to this page please? I suppose it is
Microsoft Power BI Community, Forums, Get Help with Power BI, Desktop
I am working from home so not sure if I will ever find this page again 🙂
Sorry
Jo
Hi, try with this measure:
% of Grand Total = DIVIDE ( SUM ( Table1[Sales] ), CALCULATE ( SUM ( 'Table1'[Sales] ), ALL ( 'Table1'[Customer Name] ) ) )
Regards
Victor
Lima - Peru
Hi...I have the same problem but also last year:
I need the same but using previousYear function...I did this but it doesnt work:
DIVIDE(SUM(Vista_TGT[Cantidad]),CALCULATE(SUM(Vista_TGT[Cantidad])),PREVIOUSYEAR(Vista_TGT[Fecha]),ALL(Vista_TGT[Expr3]))
Any idea how to fix it?
Thank you very much, exactly what I was looking for.
Regards,
Agnethe
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |