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
can i use not in in my DAX using a variable like
var abc = values('table 2'[number]
FILTER ('table 1 ' , NOT ('table 1 '[Number]) IN {abc} )
Solved! Go to Solution.
@kumar27 Should just be:
var abc = values('table 2'[number]
FILTER ('table 1' , NOT ('table 1'[Number] IN abc ))
Thanks @Greg_Deckler , it wrks .
also wanted to know , we can use except also i same scenarios ?
@kumar27 Yes, using EXCEPT should be another way of accomplishing this.
@kumar27 Should just be:
var abc = values('table 2'[number]
FILTER ('table 1' , NOT ('table 1'[Number] IN abc ))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 159 | |
| 132 | |
| 118 | |
| 79 | |
| 53 |