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: 
Not applicable

expression in set analysis

Hi All

I have a problem with expression in set analysis.

If I write:

Count(DISTINCT {$<RulesType={'NOT_OVERRIDE'}, Quarter ={ '1Q 12' } >} crrId)

it works well.

If I write

Count(DISTINCT {$<RulesType={'NOT_OVERRIDE'}, Quarter ={ $ ('1Q ' & right(Year,2)) }>}crrId)

where Year =2012, it doesn't work.

What's wrong?

Thanks

Luca

Labels (1)
10 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,


Try

Count(DISTINCT {$<RulesType={'NOT_OVERRIDE'}, Quarter ={ '1Q $(=right(Year,2))' }>}crrId)


Above will work if Year is a variable or Year field has only one value selected.