Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jct999
Advocate II
Advocate II

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 :

Dataset.PNG

 

 

 

 

 

- 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 :

 

Dashboard.PNG

 

 

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

 

0 REPLIES 0

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors