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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mattphillip
Creator II
Creator II

Counting and retaining field values

Hoping someone can help me out here. I have customer data with a column dedicated to each particular year. My dashboard currently features two text boxes; one with a total customer count, and the other with a percentage (%) value of the total number of customers. What I'd like to do is have is either a third text box with the percentage (%) value taken from the selected year only OR a box featuring percentage (%) values for each year individually.

Does anyone know whether this is possible. I'm getting myself confused.

Much appreciated.

Matt

2 Replies
Not applicable

it works but can u elaborate the code and provide screen shot

arulsettu
Master III
Master III

Hi

try like this

num(avg({<year={$(=max(year))}>}customer),'#,##0%')

or provide sample