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
Kurt4597
Helper I
Helper I

Conditional Column based on link between another 2 tables

Hello PowerBI Community, I am stuck on a problem and would be very greatful if somebody could assist me.

 

Table 1 - Customer List

Kurt4597_0-1662733518080.png

 

 

Table 2 - Order

Kurt4597_1-1662733518084.png

 

Table 3 - Fruit Prices

Kurt4597_2-1662733558355.png

 



 

 

Customer List is linked to Orders based on customer ID
Orders linked to fruit prices based on fruit

Kurt4597_3-1662733630626.png

 

 

I am trying to create a conditional column in the customer list table to determine if the orders created could meet a certain criteria. For example 


If an order from the customer contains an apple, OR if they have ordered a fruit with price > 2 then TRUE else FALSE

The end result would be an additional column on the customer list table containing true / false values.

 

Any help would be massively appreciated!

sample file https://easyupload.io/jcpe8c

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@Kurt4597 This will go a lot faster if you post your data as text so that we can copy and paste it into an Enter data query.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Apologies, Here is the file 
https://easyupload.io/jcpe8c

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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