Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

Add rows and value based on previous and current value

2021-11-10_14-35-16.png

 

Hi Team,

 

I'm working on a data to add rows and values based on previous row and current row.

If the previous row says 'n' and current row says 'n+2', I want to allocate the values from 'n' till 'n+2' to the current row.

Above picture explains the I/P and O/P required. Can someone please help? Attached is sample data set

1 Solution

Accepted Solutions
Digvijay_Singh

Something like this may be as attached - 

 

View solution in original post

2 Replies
Digvijay_Singh

Something like this may be as attached - 

 

markgraham123
Specialist
Specialist
Author

THis is awesome! Thank you @Digvijay_Singh