Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cumulative Percentage in Straight Table

Hi,

I need to get the cumulative percentage of the Module Assigned / Module Assigned (Completed) on a weekly basis. Something like I need to get the percentage of each row.

WeekEndModule AssignedCompleted% Completion
6/19/20153133.33%
6/26/2015274 (271+3)11441.61%
9/25/2015280 (274+6)11942.50%
10/30/201528212042.55%
11/6/201529012342.41%
11/13/201534412736.91%

Here's my expression for the Module Assigned and Completed (both in Full Accumulation already)

Module Assigned = count(Training)

Completed = count({$<Status = {'Completed'}>} Training)

11 Replies
sinanozdemir
Specialist III
Specialist III

I think the problem is here that Module Assigned and Completed columns are expressions with full accumulation. They are not dimensions.

Not applicable
Author

Thanks Andrew. I got it now.

This method will work if you have the count function from your script and then group by WeekEnd dimension and store it into QVD. Or from the QVW directly, use the AGGR function since the data was loaded per day. So we need to aggregate all the data into WeekEnd dimension.