So I have a dataset in SSRS called "CRMDecisions". I am counting the number of rows for this Dataset using the following expression in a text-box outside of the tablix:
=CountRows("CRMDecisions")
Now, this dataset also has a number of duplicate records and i want to toggle between the unique counts and everything including the duplicate counts. I have used the below filter to hide the duplicate rows I don't want to see:
=IIF(Fields!Company.Value = Previous(Fields!Company.Value) AND
Fields!DaysAway.Value = Previous(Fields!DaysAway.Value) AND
Parameters!ShowPortfolio.Value = "False", True, False)
Right now, I get a count of all the rows no matter what filter view I am using. How can I get the count of the dataset after removing the duplicate rows?