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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Pulkit_Thukral
Partner - Creator II
Partner - Creator II

Using previous values in Straight table-Where first value is "Hardcoded"

Hi All,

i am developing below table:

chart.PNG

Expression -Capacity Baseline -Storage has july month values hard-coded(manually inputted).Now,from the next month("Aug") ,value should be calculated as followed:-

Capacity Baseline -Storage Value of Current Month = Capacity baseline storage of previous month + BAU of previous month +SCR of previous month+ Limewood of previous month+reclaim of previous month.


Example- Aug month should have Capacity Baseline Storage value as 1101 under VSP and 184 under HUS.

All the above mentioned Names are Expressions with below logic:-

BAU = COUNT({<[Change type*]={'Allocation'},[BAU/SCR/Project]={'BAU'}>}[Volume (in GB)*])

SCR = COUNT({<[Change type*]={'Allocation'},[BAU/SCR/Project]={'SCR'}>}[Volume (in GB)*])

RECLAIM = COUNT({<[Change type*]-={'Allocation'}>}[Volume (in GB)*])

How can this be achieved.

4 Replies
sunny_talwar

Would you be able to share a sample to look at this?

Pulkit_Thukral
Partner - Creator II
Partner - Creator II
Author

20-Jul-16

     

Storage system*Change type*BAU/SCR/ProjectVolume (in GB)*Implementation date*
VSPAllocationBAU3005-Jul-16
VSPAllocationBAU5006-Jul-16
VSPAllocationBAU5156-Jul-16
VSPAllocationBAU4011-Jul-16
VSPAllocationSCR98014-Jul-16
VSPReclaimationSCR50018-Jul-16
VSPReclaimationBAU1018-Jul-16
HUSAllocationBAU2019-Jul-16
HUSAllocationBAU45019-Jul-16
HUSReclaimationIscr25020-Jul-16
HUSReclaimationSCR24020-Jul-16
Pulkit_Thukral
Partner - Creator II
Partner - Creator II
Author

Were you able to try with the sample data Sunny ?

Pulkit_Thukral
Partner - Creator II
Partner - Creator II
Author

i was able to solve this with the help of above function.Thanks