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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SAS/SQL Script to Qlikview Script

Good day,

I have the below SAS code, I want it to code it in Qlikview script,

How should I go about?

Thanks a lot in advance

/* Accounts for which billed amount >0 */ 

data prev_balanced;

set port_&prev_month.(keep=id_acc PREV_STATEMNT_ACCT_BAL ect_flag class);

where PREV_STATEMNT_ACCT_BAL>0;

run;

/* Dataset for transactor accounts */

proc sql;

create table transactor as

select * , 1 as transactor_flag

from  active_accounts_final

where ect_flag ne 1  and  id_acc in

(select id_acc from prev_balanced);

quit;

/* Dataset for revolver accounts */

proc sql;

create table revolver as

select *

from  active_accounts_final

where ect_flag = 1  and  id_acc in

(select id_acc from prev_balanced);

quit

11 Replies
Not applicable
Author

Yes they come from that file too. they are in excel

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Great. Create a small extract from that excel file that we can use as sample data.


talk is cheap, supply exceeds demand