How to aggregate CASE Statement values?
In my dataset, I have three different tests that aggregate the field
Forecast differently. Here's a beast mode I made that works pretty well, except when I'm trying to add them all together:
Test = 1 THEN SUM (
Test = 2 THEN SUM (DISTINCT
Test = 3 THEN SUM (DISTINCT
when I filter by each
Test, it works great. But when I want all of them selected, it doesn't work at all; just defaults to one value.
Test 1 Forecast: 100
Test 2 Forecast: 350
Test 3 Forecast: 250
If I select all tests, the total should be 700. If I select Tests 1 + 2, it should be 450 and so on. However, it doesn't add these together at all. How can I do this?