Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

avg with not equal (<>) condition

Hi everyone,

im having troubles when adding the "not equal" condition on avg sentence.

my actual expression is:

=Avg( {$<Año = {$(#=Max(Año))}, idCriterio=, K1={'14'} >} Valor)

when i try replacing the "equal" (=) with "not equal" (<>), it doesnt work.

=Avg( {$<Año = {$(#=Max(Año))}, idCriterio=,K1<>{'14'} >} Valor)

Any suggestion?

many thanks in advance.

1 Solution

Accepted Solutions
claudio_pochett
New Contributor

Re: avg with not equal (<>) condition

Hello

Try this:

=Avg( {$<Año = {$(#=Max(Año))}, idCriterio=,K1 = K1- {'14'} >} Valor)

2 Replies
claudio_pochett
New Contributor

Re: avg with not equal (<>) condition

Hello

Try this:

=Avg( {$<Año = {$(#=Max(Año))}, idCriterio=,K1 = K1- {'14'} >} Valor)

Not applicable

Re: avg with not equal (<>) condition

It works perfect, even for string values.

Thanks a lot

Community Browser