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: 
PKPK90
Contributor II
Contributor II

Aggregation

HI, I am new in QlikCloud, I would like to create a measure that will aggregate percentage value from previous rows to have something like running sum, the goal is to create ABC analysis.

This is how I started, I failed in measure nr.3, it is not aggregating and remove sorting.

1. Total Revenue $ = Sum([Total Revenue $])

2. Total% = Sum([Total Revenue $])/Sum(TOTAL [Total Revenue $])

3. Aggr = RangeSum(Above(
Aggr(
Sum([Total Revenue $]) / Sum(TOTAL [Total Revenue $]),
Material
),
0,
RowNo(TOTAL)
))

 

Labels (2)
1 Solution

Accepted Solutions
2 Replies
Or
MVP
MVP

This was written for QV, but the same applies to QS:

https://community.qlik.com/t5/Design/Recipe-for-an-ABC-Analysis/ba-p/1472867

 

PKPK90
Contributor II
Contributor II
Author

Thank you, that really helps.