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: 
Not applicable

Using selection(s) in Expression

I have a chart that shows statuses of loan applications. For each status, I would like to show the percentage of that status vs. the total # of apps.

I've tried with nested ifs:

if(if(CUDCDATA.DECISIONTYPE='Approved',count(CUDCDATA.DECISIONTYPE)/count([CUDC APPID])),

     if((CUDCDATA.DECISIONTYPE='Approved w/Condtions'),count(CUDCDATA.DECISIONTYPE)/count([CUDC APPID])))

and also:

count(DISTINCT(CUDCDATA.DECISIONTYPE))/Count(CUDCDATA.DECISIONTYPE)

0 Replies