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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
CrisNep
Frequent Visitor

Yes or No Column

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. 

1 ACCEPTED SOLUTION
Kishore_KVN
Solution Sage
Solution Sage

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!!

View solution in original post

2 REPLIES 2
Vinod_P
Helper I
Helper I

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")

Kishore_KVN
Solution Sage
Solution Sage

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!!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.