Hi
What I'm trying to do is a set, which retuns me only the items that don't have transaction over the last 2 years.
My Data is as follows:
- there's a measure called TransactionCount
- an ItemDimension and a TimeDimension
So I need all Items that have 0 or Null TransactionCount over the last 2 years
What I have so fat is this:
SELECT
([Measures].[TransactionCount],PERIODSTODATE([Date].[YEAR].[(ALL)],[Date].[YEAR].&[2013].LAG(2)))on 0,
FILTER
([Items].[Items].MEMBERS,
[Measures].[TransactionCount]<1)
on 1
from
InventoryAudit
this returns me only those that don't have a transaction at all. There are some, that didn't have any over the last two years, but earlyer.
Thank you for any help
Lukas