I have a Dim table that called DimAccounts
.
It is describing a User account and the dates that the account has been created.
for Example:
I would like to get the list of accounts that have been created on the last 6 month Dynamically. For example today is the 09\01\2016.
So my list of accounts will be the accounts created from the 01-08-2015
until 09-01-2016
. Notice that this CreatedOn
field does not have a hierarchy and it is an attribute of the accounts dimension .
Best Answer
Assuming you have properly set the ValueColumn property of your CreatedOn attribute in your dimension (so that MemberValue comes back a date data type) then the following should work:
Or if you want to create a named set so that any user can just drop it on rows, put this in the calculations tab of your cube designer: