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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to fulfill the requirement?

Hi All,

Please see the below requirement how to approch this means which chart or text object.

Input:

LoactionYearMonthPriceprofit
Hyderabad20141010010
Hyderabad20149909
Bangalore20141015015
Bangalore2014917017
Chennai20141019515
Chennai2014919017
Kerala20141020020
Kerala2014930015

Requirement:

Total we have four colors red,green,orange and yellow. here we will compare Current month VS Last month

1.if current month price & profit is higher than last month then that location goes to Green color

(price=high & Profit=high------------Green)

2.if current month price & profit is lower than last month then that location goes to Red color.

(Price=low & Profit=low------------------Red)

3.if Price=High  & Profit=Low-----------Yellow

4.if Price=Low & Profit=High-------------Orange.

This location places may vary every month based on value

How to write conditions ?????????????

How to approach the way to develop this????????????????

Output:

Please find the attached file for see the output format.

Kindly give any ideas, appreciable.

Thanks & Regards,

Ashok.

11 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

Tx for your quick reply. i need output is same like as i attached in the above post. please see the attached output format.

Thanks,

Ashok.

Not applicable
Author

Hi

Any suggestions...............??

Thanks & Regards,

Ashok.

Not applicable
Author

Hi

I am using Gysbert's qvw and creating a sample chart for your requirement.

Hope this will help you.

jyothish8807
Master II
Master II

Hi Ashok,

Try Creating four text box with different color and try to pull the relevant location name in each text box using required condition.

This trick may work.

Regards

KC

Best Regards,
KC
Not applicable
Author

Hi Jyothish,

I thought in that way only but i struck up by how to write condition for both value and location because location also need to change it's  position based on it's value.

For ex:

Hyderabad this month may it comes in Green text box, next may be it's goes to red box like what are it may be..............

Thanks,
Ashok.

Not applicable
Author

Hi Sovan,

Thanks for reply,

It's seems helpful but when add any location it's create another block not in same color block.

user dont want another block . he needs same color locations on single block.

see the attached application...............

Thanks,

Ashok.

Not applicable
Author

Hi ,

Can you please provide more lights on your requirement?

You want to show only those location in the chart (Bangalore,Hyderabad,Chennai,Kerala).If you add any other location except those location ( Bangalore, Hyderabad, Chennai, Kerala) it will not reflect/show in your chart.

Is this your requirement?

Thanks

Sovan

jyothish8807
Master II
Master II

Hi Ashok,

What i am suggesting is:

In red Text box make an expression which will always give the country which falls in that criteria, so when other country fall in that criteria the that country name will come in red.But i guess you can show only one name at a time.Not sure about that.

Regards

KC

Best Regards,
KC