Hi,I have ReportMain that serves as a driver and has 2 boxes or 2 subreports.One of them Report01 has multiple tablixes (and datasets for each of them), which produced by single sp but with different @TablixID parameter,And from ReportMain I can call Report01 only with single @TablixID parameter, so I'm kind of stuck. Is this any way to run my Report01 completely.Global task is to present single screen to user, then he selects @Year and Press Run, system should direct flow based on @Year, if < 2010 then run Report02 else run Report01, which based on legacy and new environments, so it completely different.Probably it can be done without subreports somehow??? Of is it possible at all?Appreciate your help.MarioThis is sample of my sp I need to call to fill all tablixes, consequently I have 4 ds in my rdl, each of them do call to same sp_Report01 but with diff @TablixID.[code="sql"]create sp_Repor01 (@TablixID)asif @TablixID = 100 SELECT C1,C2,C3..... -- dsTablix01elseif @TablixID = 200 SELECT C1,C2,C3,C22 from t200 -- dsTablix02else if @TablixID = 300 SELECT C1,C2 from t300 -- dsTablix03elseif @TablixID = 400 SELECT C1,C2,C3,C4,C5 FROM T500 -- dsTablix04end [/code]
↧