Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
mnvrma
Partner - Contributor III
Partner - Contributor III

Cummalative Data coming incorrect in View Data Mode

I have used set analysis "(Sum({<Year={$(vCY)}>}[_Counter_Hours]))" for measure 'Hours' whereas

for measure 'Cumulative Hours' I've used :

"RangeSum(Above( ( (Sum({<Year={$(vCY)}>}[_Counter_Hours])) ) , 0, RowNo()))" .

Data is coming correct in the Combo chart but when I Switch the chart to View Data mode Values for Cumulative coming incorrect. Can Anyone help with it?

 

mnvrma_2-1671529604067.png

mnvrma_3-1671530035077.png

mnvrma_4-1671530081572.png

 

 

 

Labels (4)
2 Replies
Saurabh_K14999
Contributor III
Contributor III

Hi, 

I guess the problem is due to Years field in the expression.

try using this expression -

RangeSum(Total((Sum({<Year={$(vCY)}>}[_Counter_Hours])), _Counter_Hours, Count()))

hope this works for you

Regards,

SK

mnvrma
Partner - Contributor III
Partner - Contributor III
Author

I checked that too but not working.