Forum Discussion
Identify significant contribution to parent total
Hi everyone,
desperately try to find a solution to model the following;
As simplified exampe - I would like to know who sold significant colors (>15%) in countries that contribute more than 100'000 to the total result (which is irrelevant for that view).
I can show % of country with a percentage measure created through different levels - however, I fail then linking this to "seller".
As well;
When I apply the 100'000 filter on the country sum, my measure calculates the new percentage, that of course is no longer the same, as minor contribution (less than the 15%) have been excluded from the country sum.
| columns | Country | Sum Country | Colour | Amount colour | % of Country | Seller |
| 1 | Switzerland | 50000 | green | 5000 | 10 | frank, paul, eric, john |
| 2 | red | 40000 | 80 | frank, paul, eric, john | ||
| 3 | pink | 2500 | 5 | frank, paul, eric, john | ||
| 4 | blue | 2500 | 5 | frank, paul, eric, john | ||
| 5 | Germany | 200000 | green | 50000 | 25 | paul, john, hans, ruth |
| 6 | pink | 80000 | 40 | paul, john, hans, ruth | ||
| 7 | blue | 30000 | 15 | paul, john, hans, ruth | ||
| 8 | grey | 20000 | 10 | paul, john, hans, ruth | ||
| 9 | white | 20000 | 10 | paul, john, hans, ruth | ||
| 10 | Italy | 150000 | green | 60000 | 40 | eric, ruth, sue, sybille |
| 11 | Black | 60000 | 40 | eric, ruth, sue, sybille | ||
| 12 | grey | 15000 | 10 | eric, ruth, sue, sybille | ||
| 13 | white | 15000 | 10 | eric, ruth, sue, sybille | ||
| >100000 | >15% | |||||
Result table should show the following output:
(format can be different of course)
| columns | Country | Sum country | Colour | Amount coulour | % of Country | Seller |
| 1 | Germany | 200000 | green | 50000 | 25 | paul, john, hans, ruth |
| 2 | pink | 80000 | 40 | paul, john, hans, ruth | ||
| 3 | blue | 30000 | 15 | paul, john, hans, ruth | ||
| 4 | Italy | 150000 | green | 60000 | 40 | eric, ruth, sue, sybille |
| 5 | Black | 60000 | 40 | eric, ruth, sue, sybille |
Looking forward to any help,
Many thanks, Felix.
Hi Anonymous
You may create a measure and then add it to visual level filter like below.If you need further help,please share the sample file.You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
Measure = IF ( [Sum Country] > 100000 && [% of Country] > 15, 1 )
Regards,
Cherie
1 Reply
- v-cherch-msft
Microsoft Employee
Hi Anonymous
You may create a measure and then add it to visual level filter like below.If you need further help,please share the sample file.You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
Measure = IF ( [Sum Country] > 100000 && [% of Country] > 15, 1 )
Regards,
Cherie