Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasshana
Creator III
Creator III

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 III
Creator III
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.