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

Syntax using Fractile function in Set Analysis

Hello,

I have created an expression using fractile that returns a value of 5% for physicians. When comparing all physicians, the correct value is returned. However, when I select one or more physicians from a list, my return value changes. Can anyone tell me what I need to add to my script so that the value stays static (meaning it will ignore any selections I make from a list of physicians.

fractile(aggr(count({<IBEX_DISPOSITION_ATN_NAME=, RETURN_QUALIFIER={'1'}>}IBEX_NUM) / (count({<IBEX_DISPOSITION_ATN_NAME=, RETURN_QUALIFIER={'1'}>}IBEX_NUM) + count({<IBEX_DISPOSITION_ATN_NAME=, RETURN_QUALIFIER={'0'}>}IBEX_NUM)),IBEX_DISPOSITION_ATN_LOGIN_ID),0.05)

Thanks!!

Scott

2 Replies
fernandotoledo
Partner - Specialist
Partner - Specialist

Use physician = inside your Set Analisys statements {<physician =, ... >}

Not applicable
Author

Thanks for your reply.

The IBEX_DISPOSITION_ATN_NAME is actually the physician name. Assuming that I have the syntax of my set analysis correctly formatted, I have already have the physician placed inside my set analysis with "=" following it. Any other ideas?

Thanks
Scott