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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cumulative Percentages in a Chart

Hi,

I'm trying to create a Cumulative Percentages in a Chart.

I have tried the below and it doesnt work.

rangesum(above(count({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_Att_No]))))-(rangesum(above(sum({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_BREACH])))))/(rangesum(above(count({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_Att_No]))))

Thanks.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this:

(rangesum(above(count({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_Att_No] ),0,rowno()))-rangesum(above(sum({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_BREACH]),0,rowno()))) /rangesum(above(count({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_Att_No]),0,rowno()))

If that doesn't work, please post a small qlikview document that demonstrates the problem.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this:

(rangesum(above(count({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_Att_No] ),0,rowno()))-rangesum(above(sum({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_BREACH]),0,rowno()))) /rangesum(above(count({<[ArriveDate]= {'$(vCurrentDayGB)'}>}[ED_Att_No]),0,rowno()))

If that doesn't work, please post a small qlikview document that demonstrates the problem.


talk is cheap, supply exceeds demand