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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anil_Babu_Samineni

Funnel Chart Expression Problem

Hello,

PFA.

I have one excel which is 2014 Data. Now, i want to split three parts.

1) Whoever more than 70

2) In between of 50 & 70

3) Below 50

Can you please help me This...

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Use Calculated Dimension as below

=Aggr(If($(vAverage) < 50, '<50',

If($(vAverage) > 70, '>70',

'50-70')),name)

Expression

COUNT(Distinct name)

View solution in original post

18 Replies
MK_QSL
MVP
MVP

Use Calculated Dimension as below

=Aggr(If($(vAverage) < 50, '<50',

If($(vAverage) > 70, '>70',

'50-70')),name)

Expression

COUNT(Distinct name)

MK_QSL
MVP
MVP

Or

Use your same funnel chart

Go to Expression tab

Click on + sign of expression

Background color

Use below as background color expression

=If($(vAverage) < 50, RED(),

If($(vAverage) > 70, Green(),

RGB(100,100,100)))

nilapril2010
Contributor III
Contributor III

Hi,

Use the following expression in color tab

if(Your Expression>=70, rgb(100,100,100),if(Your Expression>=50 And Your Expression<70, rgb(50,50,50),rgb(25,25,25)))

Regards

Nilanjan

Anil_Babu_Samineni
Author

Manish,

Yes, Here i want to show the data

1) <20

2) >=20 and <40

3) >=40 and <60

4) >=60

PFA of excel, Please find my data of 2014 & 2015.

Updated : PFA of qvw - In that, Funnel sheet

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
susovan
Partner - Specialist
Partner - Specialist

Hi Anil,

Your Expression has return the same value that's why all colours are same,

I have used this below expression for conditional color.

Expression: =if(vAverage>70,Red(),if(vAverage>50 and vAverage<70,Yellow(),Green()))

36.JPG

Warm Regards,
Susovan
Anil_Babu_Samineni
Author

Susovan,

Yes, That's why i posted raw data as well. can you please have a look which i provide the above one.

- Anil

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
MK_QSL
MVP
MVP

What output you are expecting?

Anil_Babu_Samineni
Author

I am expecting four colors from Funnel chart, It seems the your first reply. But, i want to show those four colors which i mention in the above limits

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
MK_QSL
MVP
MVP

=If($(vAverage) < 20, RED(),

IF($(vAverage) >= 20 and $(vAverage) < 40, RGB(100,100,100),

IF($(vAverage) >= 40 and $(vAverage) < 60, RGB(10,60,200),

If($(vAverage) >= 60, Green()))))