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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.