Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Line chart not showing multiple series data Expand / Collapse
Author
Message
Posted Tuesday, April 2, 2013 4:05 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, September 12, 2014 2:42 AM
Points: 11, Visits: 497
I have a line graph chart which should display either a single or multiple series. It has three variables which can be set - these variables allow selection of single or multiple values.

When I run the report with single specific values set for all variables, the chart correctly displays a single series as expected. This works fine.

However when I set any of the variables to include multiple values, no data is displayed. The legend shows the correct multiple series as expected, and the Y axis scales to show the expected data range. However no lines appear on the chart.

If I run the stored procedure behind the report manually with any combination of variables, the correct data is returned. If I create a report which is exactly the same except that it displays the data in a table rather than a graph, it also returns the correct data. Therefore this seems to be working fine ... but still no lines appear!

This is for SSRS 2008 R2.

Does anyone have any ideas what this might be?

Thanks



________________________________________
Red Gate Software Ltd
Post #1437779
Posted Wednesday, April 3, 2013 6:11 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 3:50 AM
Points: 243, Visits: 2,697
When using a multivalue parameter with stored procedures, the actual "value" that gets passed to the stored procedure is a single string with all the selected parameters separated by a comma... If you do not use an SP, but embedded the query in the SSRS dataset, SSRS handles the parsing of the multivalue parameter. To get around the issue in an stored procedure, you will need to parse out the values within the SP.... Here is one example of doing that:

http://www.mssqltips.com/sqlservertip/2866/sql-server-reporting-services-using-multivalue-parameters/
Post #1438284
Posted Wednesday, April 3, 2013 9:29 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, September 12, 2014 2:42 AM
Points: 11, Visits: 497
Thanks, yeah I had run into that particular issue previously, but it has been sorted out in this case.

It turns out that the issue seems to be the same one that (at least according to the Internet) causes most problems like this - the EmptyPoint colour needs to be set to something other than Automatic. When this is done, the data series lines appear ... but all in the same colour. There are workarounds, and I guess I'll have to investigate those.


________________________________________
Red Gate Software Ltd
Post #1438438
Posted Sunday, March 16, 2014 8:58 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, June 26, 2014 7:45 PM
Points: 14, Visits: 18
I am also having many problems with the line chart series thing, this question attracted me but I don't have a good idea. Hope some UI chart control helps.
Post #1551628
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse