Expand my Community achievements bar.

Create a new advanced function for metrics to do a grand total (deduplicated column sum)

Avatar

Community Advisor and Adobe Champion

12/8/24

Description - Currently there is the ability to use an advanced function "column sum" in calculated metrics. This adds up the value of all the rows in the dimension and gives a sum. The issue with this is that the number is often different from the 'grand total' at the top of the column of the original metric. This is because the grand total is deduplicating items by default, but the column sum doesn't do the deduplication. For example, if your dimension is products and your metric is orders, the grand total will give you the total number of orders and each row will give you the number of orders for that row. The column sum will add up each of those rows, ignoring the fact that a single order can have more than one product, and give you a sum that overcounts the actual total. To fix this, create a new function that is a grand total, it will take the grand total value associated with the dimension it is put against. 

 

Why is this feature important to you - This is important because it provides increased functionality when creating advanced metrics that need to use a total for the entire column. The column sum is great, but it is limited, and this would remove that limitation.

 

How would you like the feature to work - The grand total function would be able to be added to metrics like all of the other functions. What it would do is take the grand total (a deduplicated total) associated with a metric.

 

Current Behaviour - Currently there is no option for a grand total function, only a column sum.

3 Comments

Avatar

Community Advisor and Adobe Champion

12/9/24

Doesn't this already exist?

 

Jennifer_Dungan_0-1733755083109.png

 

Changing the behaviour from "Standard Column Sum" to "Grand Total Column Sum"?

Avatar

Community Advisor and Adobe Champion

12/9/24

@Jennifer_Dungan, using that in combination with the column sum increases the duplication. But using that without column sum does get the values closer, but it still isn't the exact right number in the calculations I'm doing. 

I think the reason why is that it's including the 'unspecified' even when I filter those out. So many an addendum to the idea above then would be to make the function work so that it can only take the visible rows (so if you deselect "include unspecified" then it doesn't include them in the calculation).

Avatar

Community Advisor and Adobe Champion

12/9/24

OK, but then wouldn't asking for more control on this existing function, with more options be better than creating a whole new function? One that will leave people confused over which "grand total" they should use?