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: 
helen_pip
Creator III
Creator III

Set analysis - ignoring 2nd set analysis

Hello

I have written some set analysis, but for some reason the second part of the set anaylsis is not working and I just get a total figure, rather than the proportion

Could someone kindly tell me what is potentially worng with my set analysis

 

=

Count({<Test={'Date In Time'}>}{<data_source={'Inpatients'}>}ur_number

)

Thanks

Helen

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

I would have written:

Count({$ <Test={'Date In Time'}, data_source={'Inpatients'}>}ur_number)

hope it helps

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

I would have written:

Count({$ <Test={'Date In Time'}, data_source={'Inpatients'}>}ur_number)

hope it helps

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Separate the set modifiers by a comma unless you want to create two sets and subtract,add, intersect or union them. I think you probably just want to use two modifiers like this:

Count({<Test={'Date In Time'},data_source={'Inpatients'}>}ur_number)


talk is cheap, supply exceeds demand
helen_pip
Creator III
Creator III
Author

Thank you!

This works perfectly

Thanks very much

helen_pip
Creator III
Creator III
Author

Thanks for your answer

This has helped me

Thanks

Helen