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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
CowsHateMilk
Frequent Visitor

Help with filtering unrelated tables

Hi there,

 

I have two tables that share the same universe of data (eg. all fruits) but are otherwise unrelated in the model.

 

One of the tables associates a person's preferred fruit:

PersonAApple
PersonAOrange
PersonAPineapple
PersonBApple
PersonBPear

 

And another shows which fruits show up in a specific recipe:

Strawbery ShortcakeStrawberry
Caramelized ApplesApple
Fruit SaladApple
Fruit SaladMelon
Fruit SaladOrange

 

I want to show in a bar chart, given a specific person, how often their favourite fruit shows up in a recipe. For example, I want to be able to filter for PersonA, and have this chart show [Apple, Orange, Pineapple] in the X-axis, and [2,1,0] show up in the Y-axis respectively.

I'm having trouble figuring out how to do this. Open to any suggestions!

Thank you!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

PBI file attahced.

Hope this helps.

Ashish_Mathur_0-1707189271816.png

 


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

View solution in original post

2 REPLIES 2
CowsHateMilk
Frequent Visitor

I can't believe I didnt think of this. Thank you! I also hadn't heard of Coalesce before so very helpful

Ashish_Mathur
Super User
Super User

Hi,

PBI file attahced.

Hope this helps.

Ashish_Mathur_0-1707189271816.png

 


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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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