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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Cummultive trics

Hi All,

I have a very complicated requirement . which I am not able to do it from so many days , 

I hope this i will get some from this formum 

Basically i have to show a table with the dimension 'Start Date'

 and expression a Sum( JIraTIcket). 

Below are some sample  data and my outout 

 

Input Dta   Desired Ouput Cummulative 
WeekStartJIrTickes WeekStartJIrTickes WeekStartJIrTickes
1-Mar-201 1-Mar-201 1-Mar-201
8-Mar-201 8-Mar-201 8-Mar-202
15-Mar-20  15-Mar-201 15-Mar-203
22-Mar-202 22-Mar-202 22-Mar-204
        

 

If you look into the first table which is the input , well in this the data on 15-mar is missing , therefore in my desired table it shoud keep the value of the prious date and contineu the same till it gets any new jira tickets, . 

I trid this using range sum finction but that doensot help me . 

Can someone please help me n this 

Labels (1)
4 Replies
Frank_Hartmann
Master II
Master II

script:

LOAD * INLINE [
WeekStart, JIrTickes
1-Mar-20, 1
8-Mar-20, 1
15-Mar-20,
22-Mar-20, 2
];

straight table (uncheck "omit zero values" on presentation tab):

dim: WeekStart

exp1: if(sum(JIrTickes)=0, above(sum(JIrTickes)),sum(JIrTickes))

exp2: RangeSum(Above(if(sum(JIrTickes)=0, above(sum(JIrTickes)),sum(JIrTickes)),0,RowNo()))

smilingjohn
Specialist
Specialist
Author

Hi Frank thanks for the reply

 

 

 

 

 

smilingjohn
Specialist
Specialist
Author

Any Solution on this would be really helpfull

Frank_Hartmann
Master II
Master II

can u share the qvw?  maybe with reducing the datamodel to the essential data and then scrambling remaining sensitive fields (settings - docsettings - scrmbling).