Calculation works well in table with Supplier column, but doesn’t work without this column. Is there some way to get same calculation, but maybe without Over functions?
Hello @iskorokhid, so the issue with your third visual is that since you added Supplier as a partition for your sumOver calculation, it will be required in the visual. Without it, Quick Sight doesn’t have any way to reference the field that you want the aggregation to be based on.
What are you wanting to show in the KPI? You could do something where you average the sums for each supplier for the KPI, that might allow you to use it. It would look something like this: avgOver({Positive Delta}, [], PRE_AGG)
You will either need to add PRE_AGG in the sumOver statement you built for Positive Delta, or you can try without it. Let me know if this helps!
Wow, big thanks! I was thinking about using measure as filter, but again, with sumOver it doesn’t work. Interesting why sum(, ) and sumOver(, ) are not the same.