This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I would like to add a column in table 1 using data from table 2 to see if a company passed at least once
So account 1 would be Passed
Account 2 passed
Account 3 not passed
Matching would be on account ID, I have tried LOOKUPVALUE but it does not let me as table 2 has double account ID's
Table 1
| Account ID | Company Name | Passed? |
| 1 | Company A | |
| 2 | Company B | |
| 3 | Company C |
Table 2
| Account ID | Date | Passed? |
| 1 | 01-01-2024 | FALSE |
| 2 | 02-01-2024 | TRUE |
| 3 | 03-05-2024 | FALSE |
| 1 | 08-05-2024 | TRUE |
| 1 | 08-05-2024 | FALSE |
| 3 | 10-05-2024 | FALSE |
Any help would be appreciated 🙂
Solved! Go to Solution.
@Anonymous Try this, PBIX attached below signature.
Passed? = IF( TRUE IN SELECTCOLUMNS( RELATEDTABLE( 'Table 2' ), "__Passed", [Passed?] ), TRUE(), FALSE() )
@Anonymous Try this, PBIX attached below signature.
Passed? = IF( TRUE IN SELECTCOLUMNS( RELATEDTABLE( 'Table 2' ), "__Passed", [Passed?] ), TRUE(), FALSE() )
Amazing it worked, thanks 😃
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 24 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 23 | |
| 18 | |
| 18 |