A delta shows how a metric changed between a main period and a comparison period. Calculate both periods separately, then display the difference beside the main value. section 7.4.2
Comparing monthly sales
If August sales are $5M and July sales are $4M, the difference is $1M. Expressed relative to July, the delta is 20%, so the dashboard can show “$5M, up 20% from the previous period.” section 7.4.2
Implement the comparison in two steps:
- Filter the comparison dataframe using the same category, gender, and other filters as the main dataframe, but use the comparison dates. section 7.4.2

