How can I create a more complex iif statement?=iif(Fields!row_description.Value = "All Leads", count(Fields!lead_id.Value), "") <--works need same expression to also evaluate =iif(Fields!row_description.Value = "Leads Referred", count(Fields!lead_id.Value) / <--doesn't work iif(Fields!row_description.Value = "All Leads", count(Fields!lead_id.Value) I am trying to get a count of lead_ids where row_description value is "Leads Referred" and DIVIDE that by count of lead_ids where row_description value is "All Leads" .is it possible to have conditional aggregation based on the value in the row_description? I really don't want to go back to the SQL and restructure it unless that is ONLY solution.
↧