Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
85 | |
77 | |
66 |
User | Count |
---|---|
120 | |
112 | |
94 | |
84 | |
75 |