For this type of rolling calculations, tableau offers table calculations
. I have prepared a similar cross-tab like yours, and follow like the GIF below
Basically you have have to apply a table calculation on aggregated measure i.e. sum(sales)
here by right clicking it and selecting % difference
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…