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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table Ranking

Hi There,

How it is possible to perform a ranking on a child count for an adult using a pivot chart expression?

e.g.

Adult Total Children Child1 Child 2 Child 3+
adult1 2 1 1 0
adult2 4 1 1 2
adult3 6 1 1 4
adult4 1 1 0 0

Is there some quick function that can manage this?

Thanks,

Kevin.

1 Reply
johnw
Champion III
Champion III

Not sure what you're up to. Maybe this?

Child 1 =if("Total Children">=1,1,0)
Child 2 =if("Total Children">=2,1,0)
Child 3+ =rangemax(0,"Total Children"-2)