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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ramu
Contributor III
Contributor III

Sequence count of each block

Hi All, 

Please help me,

I have a data in this format ,

LOAD * INLINE [
ID, Project
A, Proj1
A, Proj2
A, Proj3
B, Proj1
B, Proj2
B, Proj3
B, Proj4
BC, Proj1
C, Proj1
D, Proj4
E, Proj5
E, Proj6
E, Proj7
];

Requirement is: Id wise sequence number like 

Out Put

ID           SequenceNo.         Count          Project

A                        1                           3                       Proj1
A                        2                           3                       Proj1,Proj2
A                        3                           3                       Proj1,proj2,Proj3
B                        1                           4                       Proj1
B                        2                           4                       Proj1,Proj2
B                        3                           4                       Proj1,Proj2 ,Proj3
B                        4                           4                       Proj1,Proj2 ,Proj3,Proj4
BC                     1                            1                      Proj1
C                        1                            1                      Proj1
D                        1                            1                      Proj4
E                        1                             3                     Proj5
E                        2                             3                     Proj5,Proj6
E                        3                             3                     Proj5,Proj6,Proj7

 

In this i achieved  SequenceNo by using this formula,

AutoNumber(RowNo(),AutoNumberHash128(ID,ID)) as sequenceNo.

Can you help me for remaining two 1.count and 2.Project.

Thanks.

1 Reply
Brett_Bleess
Former Employee
Former Employee

See duplicate post: https://community.qlik.com/t5/New-to-QlikView/Sequence-count-of-each-block/m-p/1706031#M389592

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.