Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS Hiding the tablix based on expression

$
0
0

Hi All,

I am working on a ssrs report where I have multiple datasets associated, I hide or make visible some metrics based on the parameters selected as mentioned below

=IIF(Parameters!p_CMPGN_CD.Label="<somevalue>"False,True), -----------(1) this is associated with dataset1

There is one more additional parameter that is multivalued in my report, my requirement is if I select the parameter as I have mentioned in (1) and the based on the multi valued parameter I select I need the metrics to be hidden or visible. I have added the below query for the same.

 iif(InStr(Join(Parameters!Metrics.Value, ","),"1") > 0, False, True) -- this is associated with dataset 2 .

=(IIF(Parameters!p_CMPGN_CD.Label="CLI1115 (11/13/2015 - 03/13/2016)",False,True)) and  

iif(InStr(Join(Parameters!Metrics.Value, ","),"1") > 0, False, True)  --- combined query

however when I combine both the queries, I am not able to hide my template as expected.

I can guess this should be since I am using multiple datasets kindly advice.

 


Ramasubramanian S


Viewing all articles
Browse latest Browse all 10045

Trending Articles