Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

SSRS 2008R2 EXPRESSION

$
0
0
I want to add this expression in SSRS 2008R2 For [b]Column Heading[/b]If {Reportname.value} = 'ABC' And {Reportname.value} = 'S' Then 'Amount1'Else If {Reportname.value} = 'BAC' Then 'Amount2'ELSE If {Reportname.value} <> 'ABC' AND {Reportname.value} <> 'BAC' Then 'amount3'Else 'amount3'i have added like this =Switch(Fields!Field.Value = "ABC" And Fields!Field.Value = "S" , "Amount1", Fields!Field.Value = "BAC" , "Amount2", Fields!Field.Value <> "ABC" AND Fields!Field.Value <> "BAC", "Amount3","amount3")But error is comming for column heading #errorplease help to adds this for column heading

Viewing all articles
Browse latest Browse all 2791

Trending Articles