Hi all,I have a report in it i need to produce colour based on comparison of comp and allcomp when i select region parameter as "all"i need to do comparison between comp and mum_comp when i select region parameter as "mumbai"i need to do comparison between comp and rowcomp when i select region parameter as "row"i need to do comparison between comp and southcomp when i select region parameter as "south"for this i write an expression as shown below but it gives some syntax error pls help methe report runs from stored procedure=iif(Parameters!region_id.Value=0,(iif(Fields!comp.Value*0.05>Fields!allcomp.Value,"Green","Red"),iif(Parameters!region_id.Value=1,(iif(Fields!comp.Value*0.05>Fields!mum_comp.Value,"Green","Red"),iif(Parameters!region_id.Value=2,(iif(Fields!comp.Value*0.05>Fields!rowcomp.Value,"Green","Red"),iif(Parameters!region_id.Value=3,(iif(Fields!comp.Value*0.05>Fields!southcomp.Value,"Green","Red"),"yellow")
↧