Hi Mongo,
I think your syntax isn't complete, i guess it would be :
=calculation(sumx(Sales(Sales),parallelperiod(Sales(InvoiceDate),-12,month),all(Sales))
without the all() the time intel. function won't work. But the All() function will also make sure you cannot slice/show data by something other than dates.
You should create a separate time table, create a relationship on InvoiceDate and use the data from the new table in the functions:
=calculation(sumx(Sales(Sales),parallelperiod(DateTable(Date),-12,month),all(DateTable))
I think this will solve your problem. I'm currently writing a blog post explaining this in detail.
Kasper de Jonge