Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I'm working on Power BI and I am meeting a problem. I created a first measure which calculate the sum of sales by partner :
In this table, I display the top ten of my partners, the total of sale is 100M€. I would like create a second measure which calculate the part of a partner in the total sale (A1 : 6,228,028/100,000,000 = 6.2%). But I don't know howw create a measure which calculate the total sum of sales.
Thank you for your help.
Solved! Go to Solution.
Hi @JbPa33
Use Calculate and ALL dax functions to remove filters from your partner.
something like :
All - removes all the filters from the partners including "top n" that you using so it will calculate the percent from the grand total as you need.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi,
Assuming sale is a measure, write these measures
Sale of top 10 partners = SUMX(TOPN(10,all(Data[partners),[sale],desc),[sale])
Contribution (%) = divide([sale],[Sale of top 10 partners])
Hope this helps.
Hi @JbPa33
Use Calculate and ALL dax functions to remove filters from your partner.
something like :
All - removes all the filters from the partners including "top n" that you using so it will calculate the percent from the grand total as you need.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
72 | |
68 | |
41 | |
35 |
User | Count |
---|---|
108 | |
56 | |
52 | |
48 | |
41 |