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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
kevbrown
Creator II
Creator II

Set Analysis

Hi,

I'm looking to create some set analysis but it's not working

So what I have is Year, Month and Sales

I'm looking to sum sales where the year is always 2016 and the Month remains the same no matter what selection is made on it. I have -

=Sum({<[Year]={'2016'},{1}[Month]>}[Sales])

But it's stating I have an error

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar

Try this (you don't need {1} next to Month)

=Sum({<[Year] = {'2016'}, [Month]>} [Sales])

View solution in original post

3 Replies
sunny_talwar

Try this (you don't need {1} next to Month)

=Sum({<[Year] = {'2016'}, [Month]>} [Sales])

kevbrown
Creator II
Creator II
Author

Easy as that! thanks

dsharmaqv
Creator III
Creator III

try this

=Sum({<[Year] = {'2016'}, [Month]=>} [Sales])