Excel template producing incorrect results using variables

I have a Qliksense app that uses variables heavily along with 2 filters that works perfectly but when creating an excel spreadsheet with the repeat function the data produced is sometimes jumbled.

correct result of chart heading would be Fri - 24/06/2022 vs Fri - 23/06/2023

incorrect result
image

Have applied filters in the same order in Qliksense and all works perfectly.