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

Group a set of values with running no

Hi,

My raw data is like below,

WF_IDWF_NAMEWF_RUN_IDSTET
10A110:0010:02
20B210:0210:05
30C310:0610:10
10A410:0010:02
20B510:0210:05
30C810:0610:10
10A1110:0010:02
20B1410:0210:05
30C1710:0610:10
10A2010:0010:02
20B2110:0210:05
30C2210:0610:10
10A2310:0010:02
20B2410:0210:05
30C2510:0610:10
10A2610:0010:02
20B2710:0210:05
30C2810:0610:10


I want to add a field which will like the below

WF_IDWF_NAMEWF_RUN_IDSTETI want to assign like this
10A110:0010:021
20B210:0210:051
30C310:0610:101
10A410:0010:022
20B510:0210:052
30C810:0610:102
10A1110:0010:023
20B1410:0210:053
30C1710:0610:103
10A2010:0010:024
20B2110:0210:054
30C2210:0610:104
10A2310:0010:025
20B2410:0210:055
30C2510:0610:105
10A2610:0010:026
20B2710:0210:056
30C2810:0610:106


For this i need a script ..

Can any one give the script for this...

Thanks a lot...

Regards

Gangadharan M

4 Replies
IAMDV
Master II
Master II

Dear Gangadharan,

Please can you explain your question in detail? I can't seem to make any difference between the tables you pasted above... I might be confused, so please explain in detail with QV document if possible. So that we can create the script to test the output.

Cheers!

Not applicable
Author

Both the data you have look exactly the same, what do you want to achieve?

Please elaborate

Not applicable
Author

Hi,

Source data's are in Red color. Target data's are in blue color.

IO.bmp

1. There are 3 sub jobs (AAA, BBB, CCC) running every 5mins once. We can say a job ran successfully one time, when all 3 sub jobs ran in the specified order (job_id 10, 20 & 30). And also job_run_id should be an incremental order.

2. I need to prepare a chart like

     a) How many time this job ran on the particular day?

     b) How many time this job get failed? etc.

Suggestion are welcome !!!

Thanks in advance.

Gangadharan M

Not applicable
Author

I hope you can understand my requirements now.