Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Help

Hi,

I'm relatively new to qlikview and I need to use set analysis to gather data from a table.

Currently I'm working on a piece of code that will return information from the previous subset to my selection.

For example,
Groups contain accountID and from these accountID I can get expenditure.
Say Group 1 has 5 accounts and I want to select an account, the information will return the data for the group as a whole rather than the accountID seelection. So I would be looking at expenditure for the group rather than the seperate selected account.

Can you please help as I am really stuck on this one?

Thanks in advance

5 Replies
Not applicable
Author

Hi mckay,

Could you elaborate your requirement clearly with some example?

Regards,

Raj Kishor

Not applicable
Author

Not applicable
Author

for an example,

I have created a variable for working out expenditure -vExpend,

the fields im using are AccountID and Group
The design of the table is: Group>AccountID

=



sum( {$<~AccountID>}(vExpend))

I thought that this code would ignore the selection in AccountID and look at the expenditure for Group.

gandalfgray
Specialist II
Specialist II

If you want to ignore the selection in AccountID do like this:

Sum({$<AccountID={*}>} vExpend)

Not applicable
Author

If you want to ignore the selection in AccountID do like this:


Or

Sum({$<AccountID=>} vExpend)