The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |