I am new to Qlik Sense, and I am looking for a similar function with Sameperiodlastyear in DAX (Power BI's formula language). I'd appreciate it if you could let me know how I can tweak the expression below to achieve the similar effect as sameperiodlastyear function in DAX.