Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Condtional SeqNo creation while loading from Excel in qlikview

Dear All, i am loading a DATA Like below

SrNoProduct
1A
2B
3A
4A
5B
6C
7C
8A

i required to add a extra column product SeqNo and result after load should be like below.. productwise seq No

SrNoProductProductSeqNo
1A1
2B1
3A2
4A3
5B2
6C1
7C1
8A4

Please help.. want to do while loading script

1 Solution

Accepted Solutions
MarcoWedel

LOAD SrNo,

          Product,

          Autonumber(SrNo, Product) as ProductSeqNo

From YourExcelFile.xls(x);


the result should be


SrNoProductProductSeqNo
1A1
2B1
3A2
4A3
5B2
6C1
7C2
8A4



regards


Marco

View solution in original post

4 Replies
MarcoWedel

LOAD SrNo,

          Product,

          Autonumber(SrNo, Product) as ProductSeqNo

From YourExcelFile.xls(x);


the result should be


SrNoProductProductSeqNo
1A1
2B1
3A2
4A3
5B2
6C1
7C2
8A4



regards


Marco

senpradip007
Specialist III
Specialist III

PFA.

Not applicable
Author

Thanks

MarcoWedel

you're welcome

regards

Marco