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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

error in expression

I create a line chart  my expression is ::: Avg({[GROUP1]<[Gender]=Female >}UserScore_score)   it show the error in expression GROUP1 is Alternate state plz correct me.

Thanks

MAdhu

7 Replies
amit_saini
Master III
Master III

Josna,

Try this:

avg(distinct{$<Gender={'Female'}>}  UserScore_score)

avg({$<Gender={'Female'}>}  UserScore_score)

Thanks,
AS

Not applicable
Author

amit,

compulsory use alternate state

Thanks

Madhu

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this expression

Avg({[GROUP1]<[Gender]={'Female'} >}UserScore_score)


Hope this helps you.


Regards,

jagan.

amit_saini
Master III
Master III

Plz use group1 in place of distinct.

Thanks,
AS

Not applicable
Author

Hi,

Try this:

Avg({[GROUP1]}{<[Gender]={'Female'} >}UserScore_score)

PradeepReddy
Specialist II
Specialist II

try this..

Avg({[GROUP1]<Gender={'Female'}>}UserScore_score)

Kushal_Chawda

Just need below modification (in red) for your expression else it's fine

= Avg({[GROUP1]<[Gender]={'Female'} >}UserScore_score)