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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

recno() in inline

load

recno(),Customer, Value from inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];

can any 1 help me y the above script gives error?

I wan recno followed by customer, value.

1 Solution

Accepted Solutions
marcus_sommer

Try:

load

recno() as RecNo, * inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];

- Marcus

View solution in original post

5 Replies
marcus_sommer

Try:

load

recno() as RecNo, * inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];

- Marcus

alexandros17
Partner - Champion III
Partner - Champion III

this works, simply delete the from clause

load
recno(),Customer, Value
inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
]
;

jagan
Partner - Champion III
Partner - Champion III

Hi,

Remove From clause and use below script

TableName:

load

recno() AS RecordNumber,Customer, Value inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
];


Hope this helps you.


Regards,

Jagan.

its_anandrjs
Champion III
Champion III

Hi,

You can try also

load
Recno() as RecNO,RowNo() as RowNO
,
Customer, Value
inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
]
;



Regards

Anand

Not applicable
Author

thank u all,

I got in this way:

load

Customer, Value ,RowNo() as number inline [
Customer, Value
infy, 20
tcs, 30
infy, 10
tcs, 15
google, 40
google, 400
accenture,353
ibm,3625
accenture,245
]
;