Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
I am trying to create a column with yes or no answers, based on a different table.
I have two tables, one with all customers, and one with the customers that are past due.
I need that column to show yes, if it's past due, and no if it is not.
Any help will be much appreciated.
Solved! Go to Solution.
Hello @CrisNep ,
Create a column in Customers table using LOOKUPVALUE function. It should look as below:
Check = LOOKUPVALUE('TABLE2'[CUSTOMERS],'TABLE2'[CUSTOMERS],'TABLE1'[CUSTOMERS])
Then create another column to get 'Yes' or 'No'
Result = If(Check = BLANK(),"No","Yes")
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
Step 1 :- You can use appen quaries with common ref as customer .
Step 2 :- You can add a If statement if(table(date())< today(date()), " Yes", "No")
Hello @CrisNep ,
Create a column in Customers table using LOOKUPVALUE function. It should look as below:
Check = LOOKUPVALUE('TABLE2'[CUSTOMERS],'TABLE2'[CUSTOMERS],'TABLE1'[CUSTOMERS])
Then create another column to get 'Yes' or 'No'
Result = If(Check = BLANK(),"No","Yes")
If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!
User | Count |
---|---|
93 | |
84 | |
78 | |
75 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |