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

Announcements
Check out our latest virtual session where BARC Fellow, Doug Laney, highlighted the opportunities data monetization can offer enterprises. Watch here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Where cause in expression

Hi,

My current "working" expression: Avg([C_PR release time])

I however want to limit the chart to only show data for year 2016 so I tried the following expression:
Avg([C_PR release time]),[Year] ={'2016'}

Unfortunately I'm getting a message that there is an error in the expression.

1 Solution

Accepted Solutions
ali_hijazi
Partner - Master II
Partner - Master II

this is the correct syntax:

Avg({<Year={2016}>} [C_PR release time])


you need to read on Set analysis topic

I can walk on water when it freezes

View solution in original post

2 Replies
ali_hijazi
Partner - Master II
Partner - Master II

this is the correct syntax:

Avg({<Year={2016}>} [C_PR release time])


you need to read on Set analysis topic

I can walk on water when it freezes
Anonymous
Not applicable
Author

Thx Ali. That's exactly what I was looking for.