Hi All,I have a report in SSRS that has multiple tables that use the same Dataset but the data is populated by three different parameters, lets call them Parm1, Parm2 and Parm3. Within each parameter dataset I've added a Null value so that when that Null value is chosen in the parameter drop down the table will not show within the report. The code for the parameter is below:[b]Select s.SCN_NAME ||' : ' || C.NAME SCN_NAME , rh.SCN_ID , RH.RESULT_ID , RH.RESULT_TIMEfrom CIRCMODEL.TBK_MODEL_RESULT_HEAD rh LEFT JOIN CIRCMODEL.TBK_SCENARIO sON rh.SCN_ID = s.SCN_IDleft join CIRCMODEL.TBK_CALENDAR con RH.CALENDAR_ID = C.CALENDAR_IDwhere rh.MAG_CODE in (:MAG_CODE)UnionSelect Null as SCN_NAME ,Null as SCN_ID ,Null as RESULT_ID ,Null as RESULT_TIMEFROM CIRCMODEL.TBK_MODEL_RESULT_HEAD[/b]order by RESULT_TIME descThe code I am using the hide each table is:[b]=iif(Parameters!RESULT_ID_PARM2.Value="",true,false)[/b]The issue that I'm experiencing that when I choose the Null value in any of the three Parms and run the report, the table that is fed by the Parm that has been set to Null is hidden but no data shows in any of the other tables from the other two parms that were populated with a value. I've attached screen shots and hopefully they help!!!! Thanks!
↧