Understanding Totals and Tags
For most Dimensions, when we report on totals, the sum of our lines are expected to be identical to the total.
For example, if we are looking at the Cost of Inventory at each Shop:
We see that the last line of the running total is equal to the store total cost.
This should be expected for most Dimensions: Stores, Categories, Vendors, Customers, Months, etc.
But what about tags?
If we were to report on identical data, but by tag...
...we actually see quite a significant variance between the store total and the running total.
Why is this?
Tags behave a bit differently as a Dimension, they can be applied multiple times to the same product.
If we look at a handful of System IDs with their tags listed, we see the Cost for each item
but if we look at the same items, listing tags as a Dimension, two things happen:
- First, we'll get a separate line for each tag
- Second, we'll see the same Cost for each item.
Now each cost is correct, but due to the multiple tags, this does not mean that each cost is a new cost.
For example, for the first item, the $14.63 cost of the "blue tag" and the $14.63 cost of the "2013" tag are not supposed to be added. They are the same item and the same cost.
For this reason, and others, we need to be careful in how we use and interpret data where tags are present. Tags can be very helpful in designing precise reports that follow your custom data conventions. Tags can give you a lot of insight where standard data is not available, but tags follow a different set of rules. Knowing these rules will give you more insight, more freedom to build, and more confidence in the reports that you have built.
Lightspeed Analytics and reporting consultant