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

Field Intersections

I need a way to sum conditional data in a clause when a certain condition applies. For example, I have two fields: 1. Major Category, 2. Journal Type. The summation needs to occur when [Major Category].Sales and [Journal Type].Net intersect. That intersection when both instances occur, will equal this years Net Sales. From there I will need to create a variance percent that will show year over year change. Any suggestions?

1 Reply
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Not sure what you mean when you say "intersect" - when Major Category = 'Sales' and Journal Type = 'Net' ?

Then, if you need to aggregate numbers in the UI, you can use Set Analysis:

sum( {<[Major Category]= {'Sales'}, [Journal Type]={'Net'}>} MyValue)