Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt2021
Partner - Contributor III
Partner - Contributor III

Add the previous result period to the next

Hello everyone,

I would like to know if you can help me with my formula... Let me explain: I have a personalized online table according to what the client requested. For each Item I have an associated formula. What I want to achieve is to add the result of the previous period to the following month and so on.... As I show in the attached file. PS: The values ​​do not come from the Inline table, but from other tables. .Thank you !!!!

My Formula:

Script:

Bases_TP:
Load * Inline [
Bases_TP,
Ask,
Pron,
Evolution];

Measure:

If(Bases_TP = 'Ask',Sum(QTY),

If(Bases_TP='Pron',Sum(UNITS),

If(Bases_TP = 'Evolution', Sum(QTY) - Sum(UNITS),0)))

Labels (5)
2 Replies
pgalvezt2021
Partner - Contributor III
Partner - Contributor III
Author

Hello !!!!

Any Help 

Please,

Thanks !!!!

manojkvrajan
Luminary
Luminary

Did you try using Master Calendar?