
Creator III
2025-03-06
01:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to move Set Analysis expression to backend script
Hi,
I've below set expression.
count(Distinct{<Scope={'1'},Date-={'""'}>}ID).
I would like to move this set expression to backend script. How to achieve it?
Regards,
V
Labels (6)
Labels
- Subscribe by Topic:
-
Data Model
-
General Question
-
Performance
-
Script and Expressions
-
Variables
-
Visualization
3 Replies

Creator II
2025-03-07
03:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try this.
load count(distinct ID),
resident table_name
where Scope=1 and is not null(Date)
;
533 Views

Creator III
2025-03-07
04:19 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for that, is it possible to achieve with if condition some thing like below?
count(distinct if(Scope='1' AND Date<>'""',ID))
529 Views

Creator II
2025-03-07
06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes..it will work too.
506 Views
