Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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.

 

 

columnsCountrySum CountryColourAmount colour% of CountrySeller
1Switzerland50000green500010frank, paul, eric, john
2  red4000080frank, paul, eric, john
3  pink25005frank, paul, eric, john
4  blue25005frank, paul, eric, john
5Germany200000green5000025paul, john, hans, ruth
6  pink8000040paul, john, hans, ruth
7  blue3000015paul, john, hans, ruth
8  grey2000010paul, john, hans, ruth
9  white2000010paul, john, hans, ruth
10Italy150000green6000040eric, ruth, sue, sybille
11  Black6000040eric, ruth, sue, sybille
12  grey1500010eric, ruth, sue, sybille
13  white1500010eric, ruth, sue, sybille
       
  >100000  >15% 
       

 

 

Result table should show the following output:

 (format can be different of course)

 

columnsCountrySum countryColourAmount coulour% of CountrySeller
1Germany200000green5000025paul, john, hans, ruth
2  pink8000040paul, john, hans, ruth
3  blue3000015paul, john, hans, ruth
4Italy150000green6000040eric, ruth, sue, sybille
5  Black6000040eric, 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's avatar
    v-cherch-msft
    Icon for Microsoft Employee rankMicrosoft 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