Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Market Share

 

Hello Everyone,

 

i have a table like the following :

 

CompanyCategoryMonthYearValue_€Volume_kgCountryRegion
CompanyAS1jan2021114100SpainNord
CompanyBS1feb2021200150SpainSouth
CompanzCFjun202123545FranceEast
CompanyDFjun202125045FranceEast
CompanyWB2may202120050FranceSouth
CompanyAB2may202120045SpainEast

 

i would like to be able to  visualize the a matrix as following, where as use a filter like so 

to show the market share by category, country, region and company

 janfebmarjunjulDecYTD
CompanyA2%3%2%2%2%-3%
CompanyB2%3%1.3%3.3%2.1%-2.5%
CompanyC     - 

i would like to realize this with DAX, but i lack a deeper knowledge DAX and would appreciate any help.

 

Regards  

 

 

3 Replies

  • v-easonf-msft's avatar
    v-easonf-msft
    Icon for Community Support rankCommunity Support

    Hi, Anonymous 

    Can you explain your requirements in more detail?

    I can't understand your desired outcome.

     

    Best Regards,
    Community Support Team _ Eason

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks v-easonf-msft,

     

    Input data:  so the given dataset looks like this:

     

    Desired Outcome: i want to create a table or matrix vizual like this:

     

    with the following slicers:

     

    i hope i could make it clear.  Thanks again for taking time

     

    • v-easonf-msft's avatar
      v-easonf-msft
      Icon for Community Support rankCommunity Support

      Hi,  Anonymous 

      You provided me with the same screenshot, which makes no sense.

      I simply cannot figure out how you calculated the market share due to the lack of data you provided.

      That is why I would like you to be more specific in explaining the logic of the calculation.

       

      Best Regards,
      Community Support Team _ Eason