Forum Discussion
DAX use case : Help requested
Hello
I have a use case that I don't know how to set up in DAX.
I have a dataset with 4 columns :
- For the brands A, B and C, the dataset gives the quantity of sales (KPI_TYPE = SALES)
- For the brand ALL, the dataset gives the total amount of sales for about 200 brands. All these brands are not listed in the dataset, but A, B and C quantities are included in them. This is the whole market (KPI_TYPE = MARKET)
I would like to compare the sales for each brand with the market, in order to calculate a market share ( = Sales qty/Market qty).
Here is the final dashboard that I want to set up :
My questions are :
#1 : How can I duplicate MARKET value in front of each brand ?
#2 : How can I insert a MARKET SHARE columns
Thanks for your help
Regards