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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
danaleota1
Creator
Creator

Accumulative percentage

Hello I'm trying to get a column that returns the accumulative percentage of the frequency columns but the expression is returning a percentage but not the accumulative percentage.  

 

=Rangesum(Above(sum(Frequency),0,rowNo()))/sum(TOTAL Frequency)

4 Replies
dplr-rn
Partner - Master III
Partner - Master III

the expression looks correct.
are you using this in a stright table?
can you share some sample data and show whats the output you are getting.
danaleota1
Creator
Creator
Author

I converted it to a pivot table and when I did my expression did work.  Is there a way to do this in a straight table?  Thanks.  

JordyWegman
Partner - Master
Partner - Master

Hi Dleota,

Try this:

Rangesum(Above(TOTAL Sum(Frequency),0,RowNo())) / Sum(TOTAL Frequency)

Jordy

Climber 

Work smarter, not harder
dplr-rn
Partner - Master III
Partner - Master III

use total qualifier in above as well. 

You may need to do total <dimensions> if you want to exclude some