I'm facing an error in SSRS while trying to work on the SSRS IIF condition below. I want to show a responsible person's name on the screen based on the country. Kindly look into below expression:
=IIF(First(Fields!DCPlayer.Value, "dsHeader") like "India"
OR First(Fields!DCPlayer.Value, "dsHeader") like "USA"
OR First(Fields!DCPlayer.Value, "dsHeader") like "Russia",
"Mike will handle this.",
IIF First(Fields!DCPlayer.Value, "dsHeader") like "UK",
"Hariom will handle this.",
IIF First(Fields!DCPlayer.Value, "dsHeader") like "France",
"Pintu will handle this.",
IIF First(Fields!DCPlayer.Value, "dsHeader") like "China"
OR First(Fields!DCPlayer.Value, "dsHeader") like "Germany",
"Sohan will handle this.", "Sohan will handle this."))
Error: The Value expression for the textrun ‘Textbox66.Paragraphs[7].TextRuns1’ contains an error: [BC30455] Argument not specified for parameter 'Expression' of 'Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object) As Object'.
