

Why? If you filtered out the first year to remove it from the view, it would also remove it from the calculation so the second year doesn't have a previous year to compare to and is left blank. Hide the column that you don’t want to show to keep the calculation intact. Tip: When calculating year-over-year growth, the first year doesn't have a previous year to compare to, so the column is left blank. You can see that in January, there was a 368 USD difference between sales in 20, and a 26,161 USD difference between sales in 20. You can use a Difference From table calculation to calculate how sales fluctuate (how much they go up or down) between the years for each month. It shows the total sales per month for 2011, 2012, 2013, and 2014 for a large store chain. This is the default value.Ĭalculates the difference between the current value and the next value in the partition.Ĭalculates the difference between the current value and the first value in the partition.Ĭalculates the difference between the current value and the last value in the partition.Ĭonsider the text table below. In the Table Calculation dialog box, for Relative to, select one of the following options: PreviousĬalculates the difference between the current value and the previous value in the partition. Right-click a measure in the view and select Add Table Calculation. To specify from which value the difference should be calculated: But in some cases you may want something different. In most cases, you want to calculate the difference between the current value and the previous value, as in the procedure above. With a Difference From, Percent Difference From, or Percent From calculation, there are always two values to consider: the current value, and the value from which the difference should be calculated.

A Difference From table calculation computes the difference between the current value and another value in the table for each mark in the visualization.
