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

Parsing a Blank in SSRS Expression

$
0
0
I have parameters like so
     @P1 NVARCHAR(15) = ''
   , @P2 NVARCHAR(10) = Null
   , @P3 CHAR(1)

Now I want to dynamically set the report name base on parameters selected.

  • If @P3 = A and @P1 <> "" then ReportName1
  • If @P3 = B and @P1 = "" & @P2 <> Null then ReportName
  • if @P3 = C and @P2 = Null and @P1 = "" then ReportName

I got number three to work but not list one and two. How do I make this work?

Thank you


Zionlite


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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