Hello, I have been searching around for a similar posting, but have not been able to find one describing the same question/issue.
I would like to calculate a SUM of a column while ignoring select filters applied to the dataset. The column needs to be affected by all filters except for a couple columns that contain multiple values I want to filter on. Specifically, if I filter on a column called "Reason" that has many distinct values I want to still be able to know the "unfiltered" total aggregation of another column.
For example if this is my dataset of manufactured parts that are checked and potentially rejected:
Date | Reason | Rejected Quantity | Checked Quantity |
1/1/2021 | Dimensional | 5 | 10 |
1/1/2021 | | 0 | 10 |
1/1/2021 | Aesthetic | 10 | 10 |
1/2/2021 | Dimensional | 7 | 10 |
1/2/2021 | | 0 | 10 |
I would like the unfiltered calculation to result in (no surprises here):
Date | Rejected SUM | Checked SUM | Rejected Rate |
1/1/2021 | 15 | 30 | 50% |
1/2/2021 | 7 | 20 | 35% |
And if filtering the dataset to include only the "aesthetic" reason, the "checked sum" should remain unfiltered, resulting in:
Date | Rejected SUM | Checked SUM | Rejected Rate |
1/1/2021 | 10 | 30 | 33% |
1/2/2021 | 0 | 20 | 0% |
This is something I will want to do frequently, so creating one-off dataflows is not ideal. I am new to Domo, but this was fairly simple to implement in Power BI using the "ALLEXCEPT" function in a calculation statement. Please let me know if more information is needed to help explain/clarify!