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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.