Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Rajitha1
Contributor III
Contributor III

Find current year percentage

Rajitha1_0-1658922066679.png

how to find "closed" percentage in current year in Qlik sense with bar chart

 

2 Solutions

Accepted Solutions
fallenangel6
Creator
Creator

=count({<year={$(=max(year))},enquiry={'closed'}>}dealerid)/count({<year={$(=max(year))}>}dealerid)

for the below data, im getting the correct output.

fallenangel6_1-1658926454367.png

 

fallenangel6_0-1658926406794.png

 

View solution in original post

Rajitha1
Contributor III
Contributor III
Author

Thank you fallenangel6 

Its working.....

 

Thanks,

Rajitha Bhumireddy

View solution in original post

5 Replies
Tzvibe
Contributor II
Contributor II

count({<year={"$(=Year(Today()))"},enquiry={'closed'}>}dealerid) / count({<Year={"$(=year(Today()))"}>}dealerid)

Rajitha1
Contributor III
Contributor III
Author

I am not getting anything for that

fallenangel6
Creator
Creator

=count({<year={$(=max(year))},enquiry={'closed'}>}dealerid)/count({<year={$(=max(year))}>}dealerid)

for the below data, im getting the correct output.

fallenangel6_1-1658926454367.png

 

fallenangel6_0-1658926406794.png

 

fallenangel6
Creator
Creator

thats for the latest year.  number of total closed dealers in latest year / total dealers in year 2022(including all sorts of enquiry values)

Rajitha1
Contributor III
Contributor III
Author

Thank you fallenangel6 

Its working.....

 

Thanks,

Rajitha Bhumireddy