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

SSRS Switch Function error

$
0
0

Hi I am having issue with switch function is ssrs
I have declared a parameter in the report not in the proc
Reportparameter:Sysage,catage,CustomerAge(3 different options to pick at the drop down list)

for the graph i am using two differnt lines but at the category Groups i am using switch function
=Switch("catage Age" = Parameters!ReportParameter1.Value,Fields!catage.Value
,"System Age" =Parameters!ReportParameter1.Value,Fields!SystemAge.Value
,"Customer Age" =Parameters!ReportParameter1.Value,Fields!AccountAge.Value)
It is not picking right drop down list
But instead of Switch Function, if i pick one age like 'catage' it does show the right data

But switch is not picking correctly.

Suggest me how am i doing it wrong.

Thanks in advance


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>