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: 
fmazzarelli
Partner - Creator III
Partner - Creator III

pick

Hi Community,

I'm using this function

Pick(Match($(vColli),1,2),sum([SteColli]),sum([colliAP]))

but I receive the error message 'Dimension is not valid'

Could you help me?

5 Replies
sunny_talwar

You are using this as a dimension or expression?

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

dimension

sunny_talwar

You would need a Aggr function in that case since you are using Sum() function.

jagan
Luminary Alumni
Luminary Alumni

Hi,

I think this should be a expression instead of Dimension.

Regards,

jagan.

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

that means

Pick(Match($(vColli),1,2),Aggr(sum([SteColli])),Aggr(sum([colliAP])))