question

Nandan avatar image
Nandan asked

SSRS 2008 Line Chart Problem

Hi,

I am having a report which contains a line chart. I have tried different alternatives, but i could not get it solved.

There are many line in the charts representing Baseline,Actaul Weight, Gas Usage and so on.

Intially the report was having just a weeks data and everything was working great.Now the requirement is, to also display another line representing 16 weeks of prior data. I got the dataset prepared by doing the Union on the intially query with the 16 weeks of data.But, when i plot the graph it looks seperated as the lines are representing different years.

What i want to display is One line over the another.

Current week data and over the same line i want to represent the 16 week data (So it will be easy to look for comparision).

So i realised i have to group by week number inorder to get one line over the other[ As years are different]. But the lines don't get displayed at all, if i group by weeknumber.So, can you please help me on figuring out ,how to do this?

Line Chart with

Drop Category Fields : WeekNumber

Drop Data Fields : Different Calculated sum columns.

Please help me if anyone can.

Thanks.

sql-server-2008
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Nandan avatar image
Nandan answered

Hi,

I don't want past 16 weeks of data.I want previous year records over the current year records for the date range i select.I am sorry that i had printed as previous 16 weeks in my question.

I have the records for the current year Date range i select and it is displayed as a line graph. But i also have previous year data for same date range.But, i want it to be displayed along with current year data, but on a different line graph.

Please let me know if i need to provide some more information.

Thanks

Nandan

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.