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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Need Help with Relationships

Hey guys,

 

Thanks for taking the time to look into this message.

 

I have two tables: (please reference tables below)

  • ID Table
  • Gear Table

I have built a one to many relationship between the ID Table and Gear Table so that I can track the gear I have for each Sport. I am now trying to put together a visual that will show me the count of sports per each brand. The idea would be to have a bar graph in which the axis would be the brand and the values would be the sports. In this particular case we have three different brands (Nike, DeMarini & Under Armour) and across those brands we have two sports (baseball, football). What type of relationship am I missing here so that I can put together this visual?

 

ID Table

IDSport Name
1Baseball
2Softball
3Football
4Basketball
5Hockey
  

 

Gear Table

IDSport NameGearBrand
1BaseballBat

DeMarini

1BaseballGloveNike
1BaseballHatNike
2FootballHelmetNike
2FootballUniformUnder Armour
1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try this measure:

 

Measure = DISTINCTCOUNT(Gear[Sport Name])

 

Choose Clustered Bar Chart, it shows the distinct count of sports for each brand:

5.PNG

Hope this helps.

 

Best Regards,

Giotto Zhi

View solution in original post

2 REPLIES 2
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try this measure:

 

Measure = DISTINCTCOUNT(Gear[Sport Name])

 

Choose Clustered Bar Chart, it shows the distinct count of sports for each brand:

5.PNG

Hope this helps.

 

Best Regards,

Giotto Zhi

vivran22
Community Champion
Community Champion

Hello @Anonymous,

 

What is value you are looking in terms of count? Can you share the expected result as per the sample table shared?

 

Capture.PNG

 

Cheers!
Vivek

If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂

https://www.vivran.in/

Connect on LinkedIn

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.