In My report, I am getting Values in Two different textboxes I need to compare these two textboxes with two datasets fields and get value from third Field (Column).
For example; =LOOKUP(ReportItems!HEALTH_PROFESSIONALS_NAME.Value, Fields!MHEALTH_PROFESSIONALS_NAME.Value, Fields!MBudget.Value, "MBudget")
This works fine but only compare one item to another. I need to compare two fields to get value of "Fields!MBudget.Value"
I tried following but no result;
=LOOKUP(ReportItems!HEALTH_PROFESSIONALS_NAME.Value, Fields!MHEALTH_PROFESSIONALS_NAME.Value AND ReportItems!MONTH_OF_DATE.Value, Fields!MMONTH_OF_DATE.Value, Fields!MBudget.Value, Fields!MBudget.Value, "MBudget")
IIF(ReportItems![HEALTH_PROFESSIONALS_NAME].Value = Fields![MHEALTH_PROFESSIONALS_NAME].Value AND ReportItems![MONTH_OF_DATE].Value = Fields![MAPPOINTMENT_MONTH].Value,"Fields!MBudget.Value","")
Please HELP