Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.