Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
There is a difference between using " " and ' ' in set modifier.
Using "2022-8" is the same as "2014", use single quotes instead so you get '2022-8'.
Try this:
Count( {<[FILE CREATION YEAR & MONTH (NUM)]={'$(vPreviousYear)-$(vSameMonth)'}>} distinct [REFERENCE NUMBER])