Robert BreenMay 7, 20211 min readTableau: Calculate 14 Day Change in Covid CasesUpdated: May 13, 2021Step 1:Start with date on rows, and sum([Cases]) on TextStep 2:Create a lookup calculation to find the value from 14 days ago. Lookup(sum([Cases]),-14) Step 3:Calculate the difference by subtracting the two. Sum([Cases]) – [14 Days Ago] Step 4:If you add a dimension like state, adjust the partitioning of the t

Step 1:Start with date on rows, and sum([Cases]) on TextStep 2:Create a lookup calculation to find the value from 14 days ago. Lookup(sum([Cases]),-14) Step 3:Calculate the difference by subtracting the two. Sum([Cases]) – [14 Days Ago] Step 4:If you add a dimension like state, adjust the partitioning of the t