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 Guys,
I've a tableA with two columns where column1 values can occur in column2.
I need to create in DAX a new table with all rows of tableA if the column1 has value that if present in column2
the picture below can explain my goal
Solved! Go to Solution.
Hi @montibellin
Create your new table with this DAX expression:
Table 2 =
Var _C2 = VALUES('Table'[Column2])
return
CALCULATETABLE('Table','Table'[Column1] in _C2)
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @montibellin
Create your new table with this DAX expression:
Table 2 =
Var _C2 = VALUES('Table'[Column2])
return
CALCULATETABLE('Table','Table'[Column1] in _C2)
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 68 | |
| 45 | |
| 43 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 196 | |
| 126 | |
| 106 | |
| 78 | |
| 55 |