Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
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
CELAMBARASAN
Partner - Champion
Partner - Champion

What expression your using to show the arrows? because it depends on that. We can control it using expression again it depends.

Not applicable
Author

Hi Celambarasan,

I am using image from expression window for green arrow but we can use green from trend column also.

Regards,

Piyush

CELAMBARASAN
Partner - Champion
Partner - Champion

I meant is there any logic is there to apply green or red or yellow.

Have you applied logic something like If(Value>50, Green, if(Value > 25, Yellow, Red ))?

Not applicable
Author

Hi,

I am using set analysis for that like =if(count({<Trend='Green>}Dt)>=2,'Green') but it is not working.

saumyashah90
Specialist
Specialist

Hi Piyush,

What you can do is. Count of image
i.e after you are done with images take an another expression counting that image and show RAG based on it

CELAMBARASAN
Partner - Champion
Partner - Champion

Try this.

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

Not applicable
Author

Hi Celam,

It is showing error at the second brases of set analysis when using{<Trend='Green' >}Dt).

Regards,

Piyush

CELAMBARASAN
Partner - Champion
Partner - Champion

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

Not applicable
Author

Hi,

I am aware of that error but it is showing error in set expression.

Regards,

Piyush