When I use this formula: runningSum(sum(spend), [ {event_date} ASC], [campaign, {internal_id}, Month])/ minOver(min({budget_sum_month}), [campaign, {internal_id}, Month]) , I get a different result, but it is not yet 100% correct.
the result is correct for the month level, but for next “Customer” lever it was given as minOver(min()) as expected.
It makes sense that I need to use sumOver(min(),…):
runningSum(sum(spend), [ {event_date} ASC], [campaign, {internal_id}, Month])/ sumOver(min({budget_sum_month}), [campaign, {internal_id}, Month]) , but the result is incorrect:
Hello @Ekaterina, so, one thing to consider when using partitioned calculated fields within a pivot table is that it can cause issues with the field value compared to the total. It may even be unnecessary to use partition fields if your pivot table is already set up with the parititon values in the Row field wells.
The best way for me to assist you with a solution would be if you could set up a demo version of this analysis in QuickSight Arena and share a link to the dashboard so I can try and test out some options.
I am also a little unsure of how the partitioned runningSum is aggregating with a nested partitioned sum/minOver function. Maybe there would be a way to use windowSum functions for both the numerator and denominator values. It often helps if the aggregation type matches to ensure they work together as expected.
I can try to guide you further with a little more information, but let me know if this helps!
Hello @Ekaterina, I wanted to check in since we have not received a response from you. If you still need assistance with this issue in QuickSight, please follow-up with some more information or a dashboard in Arena so I can assist you further.
If we do not hear back from you in 3 days, I will archive this topic. Thank you!
Hello @Ekaterina, since we have not heard back from you, I will archive this topic. If you still need assistance with this issue, please post a new question in the community and link to this topic to provide relevant information. That will ensure you are at the top of the priority list for a response from one of our QuickSight experts.