This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Thank for your response, the formula should need to be fixed a bit, the no.Customer(Stage=1 && Status=Y) means we need to count CustomerID follow the condition. But the Quantiy = SUM(Quantity) over all of them. It appreciated if you can help to modify the file and i think the result will be perfect!
The sum tool is pretty rad and I want you to know how to use it in the future so let's learn how to fish!
Below is a picture of the configurations panel for the Sum tool, if you look at the Fields area, there is a list of all fields that are coming into the tool. The "Actions" area is where the magic happens in the tool. if you select a field from the list above (clicking on the field highlights and "selects" it), there is a drop down option in the actions pane that allows you to select what functionality the sum tool is performing. Since we have already decided to group on "OrderDate", "Stage" and "Status" the sum tool is going to bring us to whatever aggregation we are asking to to do on those distinct values.
Since you said you wanted to do a count of the customer IDs, selecting that field and then through the dropdown selecting count (or Count Distinct) will adjust what we are aggregating on. If you need to remove a field that already exists within the tool, there is a button on the side of the actions pane that is a circle with a "-" within. Just click that while selecting whatever field you want to remove. Since the name of the aggregated field is changing, this will throw an error message on the "cross tab" tool. You will have to adjust that to sum on our new "count_CustID" field.
Let me know if this needs any further clarification. :)