Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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 ))