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

How to create the report using parameters in SSRS Expand / Collapse
Author
Message
Posted Tuesday, July 14, 2009 6:36 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 23, 2014 12:34 PM
Points: 24, Visits: 126
Hi I am new to to SSRS...I have requirement to create a report based on filter

I need to select Product>Product type>Product name>Total revenue(fact value) based on the Date.

For more clarity all the information should be in Drop down

select Product
select Product Type
select Product Name
and display the total revenue.

All the fields Product,Product type and Product name are in different dimension tables.

How can i achive this from SSRS??
Post #752624
Posted Tuesday, July 14, 2009 9:10 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 12:51 PM
Points: 11,199, Visits: 12,959
Are you talking about a product hierarchy where you select a product from a list and the product type drop down is filtered on this value and the product name drop down is filtered by product and product type selections?



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #752767
Posted Wednesday, July 15, 2009 9:27 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, January 23, 2014 12:34 PM
Points: 24, Visits: 126
Hi Jack

Exactly,i need that only i need to select Product from the dropdown then i ill have one more drpodown for product type like wise...

Pls let me know the approch..

Thanks in Advance
Post #753598
Posted Wednesday, July 15, 2009 9:53 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 12:51 PM
Points: 11,199, Visits: 12,959
First you create your datasets like Products, ProductType, ProductName. Then in the ProductType dataset you put a parameter in the SQL for your ProductID. and then the same for ProductName. Then for each report parameter you set the parameter to use the appropriate dataset as it's source. This will automatically cause the parameter lists to "cascade"

Attached is an example using the AdventureWorks database (available on codeplex).




Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2


  Post Attachments 
CascadingParams.zip (52 views, 2.15 KB)
Post #753620
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse