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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression

hi,

I am using pivot table. in image column if count of green arrow is greater than 2 is shoul show green in status and if count of red is greater than 2 it should show red. how to apply expression in status column.
Untitled.jpg

20 Replies
Not applicable
Author

Hi,

I am sending image for clarification.Untitled1.jpg

rustyfishbones
Master II
Master II

you are missing the braces around green

it should be {'Green'}

Not applicable
Author

Hi,

After using Braces it is showing error at first braces.

Regards,

Piyush

CELAMBARASAN
Partner - Champion
Partner - Champion

Please change you expression to

If(Count(Total<Week123> {<Trend={'Green'}>} Dt) >= 2, 'Green')

rajni_batra
Specialist
Specialist

can u display that error screen?

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

It looks like Trend is not a Field Name its a Expression?

Could you please tell me what expression you are using?

Not applicable
Author

Hi Celam,

Ya Trend is calculated dimention.

regards,

piyush

CELAMBARASAN
Partner - Champion
Partner - Champion

Could you post that expression?

Not applicable
Author

hi,

If(status1='Red',R

if(status1='Green,'G'

if(status1='Amber','A')))

this is calculated dimension.

Regards,

Piyush

Not applicable
Author

Hi,

Its there on same page above.

Regards,

Piyush jain