Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Krissu
Contributor
Contributor

percentage counting

Hi!

I have query results; some values are positive, and some are negative. There are different number of answers in each year, so I need % of see what the difference in each year is. I have problem with percentage counting for each year separately. If I use total, then the % will be the percentage of all these 3 years results. I made an example with Excel of the result what I want to have. Any ideas how I can do this in Qlik Sense?

WBR Krista

Labels (1)
1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

I cannot see what your field names are, but you should in principle use

Count(Answer) / Count(total <Year> Answer)

View solution in original post

2 Replies
hic
Former Employee
Former Employee

I cannot see what your field names are, but you should in principle use

Count(Answer) / Count(total <Year> Answer)

Krissu
Contributor
Contributor
Author

Hi Henric! Thank you so much! It works!

Wbr Kirsta