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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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 ))
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 34 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 94 | |
| 77 | |
| 41 | |
| 27 | |
| 25 |