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.
I have 1 table called "merged"
it contains 2 columns, Column1 and Column2
Column1 | Column2 |
Cat | Fish |
Dog | Rabbit |
Fish | Dog |
Rabbit | |
Big-Dog |
If the cell from Column1 (Exact match, but preferably not case sensitive) is found anywhere in Column2 it should mark Column3 as True
Column1 | Column2 | Column3 |
Cat | Fish | False |
Dog | Rabbit | False |
Rabbit | Big-Dog | True |
Fish | True | |
Big-Dog | True |
Solved! Go to Solution.
Try this calculated column:
Column3 =
VAR vColumn1 = Table1[Column1]
VAR vRowCount =
COUNTROWS ( FILTER ( Table1, Table1[Column2] = vColumn1 ) )
VAR vResult =
IF ( vRowCount > 0, TRUE, FALSE )
RETURN
vResult
Proud to be a Super User!
Try this calculated column:
Column3 =
VAR vColumn1 = Table1[Column1]
VAR vRowCount =
COUNTROWS ( FILTER ( Table1, Table1[Column2] = vColumn1 ) )
VAR vResult =
IF ( vRowCount > 0, TRUE, FALSE )
RETURN
vResult
Proud to be a Super User!
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 |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |