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

Full accumulation

Hi All,

I was using this below expression in qlikview and selected the option of full accumulation .which works perfectly

=if(Count(Expense)>0,
Count(Distinct if(SubGroup=SubDoor and Floor(Date)=Floor(ClosedDate),SalesID)),
Count(if(Floor(Date)=Floor(ClosedDate),SalesID)))

But i want to use range sum in the same expression how do i do it ? and uncheck full accumulation option . 

But in Qliksense there is no option of Full Acumulation how can use RangeSum for the above expression .

Need to change the above expression to range sum  :

Can any one please help on this 

Thanks in advance

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

RangeSum(Above(TOTAL
If(Count(Expense) > 0,
Count(Distinct If(SubGroup = SubDoor and Floor(Date) = Floor(ClosedDate), SalesID)),
Count(If(Floor(Date) = Floor(ClosedDate), SalesID)))
, 0, RowNo(TOTAL)))

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

May be this

RangeSum(Above(TOTAL
If(Count(Expense) > 0,
Count(Distinct If(SubGroup = SubDoor and Floor(Date) = Floor(ClosedDate), SalesID)),
Count(If(Floor(Date) = Floor(ClosedDate), SalesID)))
, 0, RowNo(TOTAL)))