I'm really struggling to write an SSRS Expression, due to various permissions issues on DB's I can't do it in SQL which would take a few seconds... I need a text box expression to show either 20000, 30000, 40000, 60000 depending on the value in OtherModelsInfo in the Agreement dataset. I've attempted to write the expression but I am no expression writer so I apologise. I believe from what a co-worker told me the First needs to stay in there to make sure the right OtherModelsInfo value is shown. Any questions please let me know, thanks :)
=iif(First(Fields!OtherModelsInfo.Value,"Agreement") = "V12 All V12 Models 4 Year 60,000 Miles Extended Warranty", then 60000, (First(Fields!OtherModelsInfo.Value,"Agreement") = "V12 All V12 Models 3 Year 30,000 Miles ", then 30000, (First(Fields!OtherModelsInfo.Value,"Agreement") = "V12 All V12 Models 4 Year 40,000 Miles ", then 40000, (First(Fields!OtherModelsInfo.Value,"Agreement") = "V12 All V12 Models 2 Year 20,000 Miles ", then 20000,