Hii

I am  getting problem in ssrs mscrm i am not able to solve this i am pulling my hair. Can u please help me regarding that...

The problem is expression:

1) =IIF(Fields!l_gs_referedbycontact.Value Or Fields!l_gs_referredbycustomer.Value Is Nothing, " ", Fields!totalamountValue.Value)

2)=IIF(Fields!l_gs_referedbycontact.Value Or Fields!l_gs_referredbycustomerValue.Value Is Nothing, Fields!totalamountValue.Value, "")

Detail:  1) If 1st and 2nd fields  is nothing show the total value

Detail:  2) if 1st or 2nd field have value show total value 

If i wrote above expression i am not able to sum it,  and empty places i am getting 

error msg.

Thanks regards

saiteja

I hope u will help me.