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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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