Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

populate column based on different table

Hi all, 

 

I have 2 tables, a customer/purchase table:

customerpurchase
C1xyz
C1abc
C2xyz
C3edf

 

and a table that lists premium customers

customer
C1
C3

 

I would like to add a calculated column to the customer/purchase table that reports (yes/no) 

if the customer is a premium customer or not. Basically

customerpurchasePremium
C1xyzyes
C1abcyes
C2xyzno
C3edfyes

 

  

 

Many thanks in advance 

  • pls try this

    Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

1 Reply

  • pls try this

    Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.