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
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
Super User
Super User

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