=Switch(Fields!CompnyID.Value=5, "company 1" "dsSalesManagement", Fields!CompnyID.Value=6, "company 2" "dsSalesManagement" )
Trying to use switch statement to display two different results in my report.
Was maybe looking for syntax correction or is there a way to use an else if statement? Problem is I want this expression to be dependent on value from another expression. Is that possible in ssrs?
It seems that you have more than one datasource in your report so you have to specify the correct scope of your aggregate function.
For example: