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

Setting same filter on Chart gives different results than setting on datset Expand / Collapse
Author
Message
Posted Thursday, June 27, 2013 1:26 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, June 4, 2014 1:20 PM
Points: 15, Visits: 63
HI

I am using SSRS 2102 and trying to make a series of sales charts that first show regional data and then customer data from each region. I am finding that the same filter applied at the dataset level works differently than at the chart level

It looks like :

Fiscal Year

Region sum( transaction)

CustID sum(transaction)

I have 2 charts... one to display sales data by region then another chart to display sales data by CustID

I use a Report Parameter (RegionParamter)to figure out the region for which the customer data is displayed

In order to only display customers within a specific region on my second chart I apply a region=RegionParameter filter on my CustID group in the second chart

Everything works fine if a customer only exists in 1 region however if a customer exists in 2 or more regions I only get customer data in one region... usually the last one in an ordered list.

However, if I apply the same region=RegionParameter filter at the dataset level the second chart works as expected... all customer data for each and every region is displayed... even if a customer is in multiple regions.

Has anyone experienced this and if so is there a workaround that you could share?

Thank you

Tom
Post #1468314
Posted Saturday, June 29, 2013 6:11 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, August 29, 2014 4:19 AM
Points: 243, Visits: 2,686
This issue is very odd as the filter should be the same when applied at the dataset or the chart level. Maybe you cold display the parameter on the report to see what is different.
Post #1468791
Posted Tuesday, July 2, 2013 6:41 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Wednesday, June 4, 2014 1:20 PM
Points: 15, Visits: 63
Hi

I actually do that.. I put the parameter in a title to identify what Region is being displayed on the chart and it all seems to be "correct".

I worked around the problem by creating a duplicate dataset to be used only for the one particular chart and applying the filter at the dataset gave me the result I needed. I sure wish that I could figure out what the chart filtering is not working as expected.

Tom
Post #1469453
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse