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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Creating table for comparison between brands

Hello everyone, 

I am trying to create a simple table to compare two brands (Mine vs Competitor) and I want to see it based on market share [KPI]

I have two tables one "Product" and "Challenger" - in challenger i have my competior brand. I combined these two based on the multiple conditions (KEY) - i do not have any duplicates in "Challenger" so it is - Mayn to one relation. 

I am using these two calcualations: 

1. working correctly. Taking the brand from "product" table - i see correct numbers

_Selected brand =
var SelectedBrand = SELECTEDVALUE('Product'[Brand])
return
CALCULATE([KPI],
'Product'[Brand]=SelectedBrand)

2. i have only blanks. Taking the competitor brand from "challenger" 

_Selected brand comparison =
//var SelectedBrandComp = SELECTEDVALUE('Product'[Brand])
var SelectedBrandComp = SELECTEDVALUE(Challenger[Competitor Benchmark Brand])
return
CALCULATE([KPI],
'Product'[Brand]=SelectedBrandComp)
3 REPLIES 3
NaveenGandhi
Memorable Member
Memorable Member

Hi @Anonymous 

It would be easy to understand the problem if you can share some sample data, screenshot of expected output and how you are visualizing this.

Thanks,
NG

Anonymous
Not applicable

Petra_H_K_0-1724493205000.png

This is the calculation of MS:
Market Share = DIVIDE([_Total Sales],[_Total Sales All Groups])
 
and this is: Total Sales All Groups_Guidence =
CALCULATE([_Total Sales without Total],
ALL('Product'[Group]),
ALL('Product'[GroupNew]),
ALL('Product'[Country_Categ_Group_Brand]),
ALL('Product'[Country_Categ_Group]),
ALL('Product'[Brand]))

Hi,

Share some data to work with, explain the question and show the expected result.  Share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.