I have Crystal Report DistinctCount function, and i want to convert it to SSRS CountDistinct The below expression is in Crystal Report;
{Prod.mID} + " Total Patients: " + Totext(DistinctCount({Prod.A},{Prod.B}),0,"")
I have made this so far, but not able to implement it in SSRS report;
=Fields!B.Value & "Total Patients: " & CountDistinct(cstr(Fields!A.Value) + cstr(Fields!B.Value),0,"")
Any suggestions as to how to achieve this. Where am i going wrong. Appreciate it.