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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load rowno() script in SQL

Hi Everybody...

the trigger is my script in qlikview expression wont work becouse it dont have RowNo()

this is my script(i got this script from mr/mrs.settu in this community) :

if(RowNo()=1,

    if(DEBET<1,

        (LSALDO-OUTCOME),

        (LSALDO+INCOME)),

    if(INCOME<1,Rangesum(Above(Column(3)),-Sum(OUTCOME)),   

    Rangesum(Above(Column(3)),Sum(INCOME))))

and.. this is my qlikview table(with wrong values Rangesum)

asd.png

i create RowNo in expression.. not in main script.

can i create LOAD RowNo() in main script with my SQL Database script

maybe its like :

Load RowNo(),

select  * from username_table

where ..... = '......'

can anyone give me the correct load RowNo() script in SQL

0 Replies