I am using a Top N Customers Parameter with 3 selections: 25, 50 & 100. I would like to be able to show the total sales(not Grand Total of all sales) for whichever Top N Customers selection I click on. I tried using a IF/SUM calculation, but I cannot get around the error that says I can't compare integer and string values. Below is the formula I am using. Please help!