Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
WEBINAR June 25, 2025: Build on Apache Iceberg with Qlik Open Lakehouse - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasshana
Creator II
Creator II

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

3 Replies
ramchalla
Creator II
Creator II

Hi,

Please try this.

load count(distinct ID),
resident table_name
where Scope=1 and is not null(Date)
;

vikasshana
Creator II
Creator II
Author

thanks for that, is it possible to achieve with if condition some thing like below?

count(distinct if(Scope='1' AND Date<>'""',ID))

ramchalla
Creator II
Creator II

Hi,

Yes..it will work too.