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: 
danielnevitt
Creator
Creator

Subset of Data using conditions

Hi,

I have a data set and I am looking to extract records where the following paramaters are the same:

CONTRACT_DT

DESK_CD

OFFICE_CD

CONTRACT_QTY

The data should then be matched by Buy/Sell being opposite (ie Buy with Sell and Sell with Buy) and also where the PERIOD_CD is different.

I thought about creating an INDEX for the first part, however I am unsure how to approach the second part.

The aim is to calculate the net position of a data set and then remove trades where the above conditions are met and then re-calculate the net position.

Any help/ideas will be much appreciated.

Regards,

Daniel

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try creating an example with data that also explains and shows what the result should be. See this document:

Preparing examples for Upload - Reduction and Data Scrambling


talk is cheap, supply exceeds demand