Rashmi Nagaraja Posted November 13, 2012 Share Posted November 13, 2012 Hi,I have a table which looks like the followingID Name Year Jan Feb Mar Apr May [These are the column names]1 abc 2012 2.5 3.2 2.5 2.3 6.2 [These are the values in the rows of my table]2 abc 2011 3.9 6.2 7.5 6.5 6.8I am trying to create a line chart where x axis is my column names i.e, Jan, Feb and so on and my Y axis should be its corresponding values. Series expression would be the year.Could some one please help me in creating the category expression and value expression since I am unable to do so?Any help would be appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
lisacbeaton Posted November 13, 2012 Share Posted November 13, 2012 Reformat your query output to be:ID Name Year Month Value 1 abc 2012 Jan 2.5 1 abc 2012 Feb 3.2 ... 2 abc 2011 May 6.8 And then on the x-axis (category) use the month, and for the y-axis (value), use value. Link to comment Share on other sites More sharing options...
lisacbeaton Posted November 13, 2012 Share Posted November 13, 2012 Your month could also be yyyy-mm, which might help better organize your output. Link to comment Share on other sites More sharing options...
Rashmi Nagaraja Posted November 14, 2012 Author Share Posted November 14, 2012 Thanks for the answer. I will definitely try this approach and see how it goes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now