Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How t modify the expression to from include to exclude ?
02-11-2021
10:55 PM
Hi All
Below expression working fine , which filter 3 number from GL Table base on Document No. field :-
_delete =
SWITCH(
TRUE(),
'GL'[Document No.] IN {30017530,30017534,30017532}, "_delete",
BLANK()
)
May i know how to modify the above to ex-clude these 3 number ? I have try :-
_delete_py =
SWITCH(
TRUE(),
'GL'[Document No.] NOT IN {30017530,30017534,30017532}, "_delete",
BLANK()
)
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2021
10:58 PM

@admin11 , Try like
_delete_py =
SWITCH(
TRUE(),
NOT ('GL'[Document No.] IN {30017530,30017534,30017532}), "_delete",
BLANK()
)
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
08-12-2024 05:05 AM | |||
06-23-2021 09:59 AM | |||
03-02-2017 10:42 AM | |||
07-02-2024 01:58 PM | |||
06-17-2024 05:03 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
123 | |
103 | |
85 | |
49 | |
46 |