Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
Need to achieve column C in table 1, By considering the logic if Table 1, Column B value is in Table 2 Column B then True else False.
Solved! Go to Solution.
Hi @VK7,
One of the options is such a calculated column:
In plain text for convenience:
Column C =
VAR stringToCheck = CONCATENATEX ( Table2, [Column B], "; " )
RETURN CONTAINSSTRING ( stringToCheck, [Column B] )
Best Regards,
Alexander
Hi @VK7,
One of the options is such a calculated column:
In plain text for convenience:
Column C =
VAR stringToCheck = CONCATENATEX ( Table2, [Column B], "; " )
RETURN CONTAINSSTRING ( stringToCheck, [Column B] )
Best Regards,
Alexander
Thank you
Okay, as you wish:
Column C as Measure =
VAR currentB = SELECTEDVALUE ( Table1[Column B] )
VAR stringToCheck = MAX ( Table2[Column B] )
RETURN CONTAINSSTRING ( stringToCheck, currentB )
Best Regards,
Alexander
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |