TARGIT
»
TARGIT help & get help
»
TARGIT Decision Suite - help & get help
»
Dynamic Period not working for Month but works for Quarter
 Rank: Advanced Member
Groups: extranet\Forum
Joined: 3/11/2014(UTC) Posts: 22
|
I have two hierarchies, Year - Quarter and Year - Month. I have the dimension set as a Time type. Here are the values from the MDX:
[Start Date].[Year - Quarter].[Year].&[1991].&[199101] [Start Date].[Year - Month].[Year].&[1983].&[198312]
In the description for the Year - Quarter hierarchy, I have #|TimeDef:[<>].[<>]|# and this works in that I can see Previous Quarters as a selection in the comparisons when dynamic period is selected. But, when I use either #|TimeDef:[<>].&[<>]|# or #|TimeDef:[<>].[<>]|# for the Year - Month hierarchy, I only get previous year as an option and it says month doesn't exist. I have the key for the month field set to an integer field with the format of YYYYMM(198312) and the name field set to a field like Jan, Feb, Mar, etc. How can I get this to work? It seems that setting it up the same way as the Year - Quarter hierarchy should work but it doesn't.
Thanks,
Cindy
|
|
|
|
|
|
 Rank: Advanced Member
Groups: extranet\Forum
Joined: 4/5/2011(UTC) Posts: 110
|
Hi Cindy
Is the month attribute of the type Months? Does the month (previous month) actually exist in the data? You might try adding the base date and manipulate it to check the last question.
|
|
|
|
|
|
|
 Rank: Administration
Groups: extranet\Forum
Joined: 4/7/2011(UTC) Posts: 433
|
I think you will need something like
#|TimeDef:[<>].&[<YYYYMM>]|#
for your Year - Month hierachy.
In this way you let the system know that you made a combined key for the Month level attribute.
BR / Ole |
I work as an employee with TARGIT A/S. Any statement made by me in this forum represents my own opinion and state of mind, and is not necessarily related to or representative of TARGIT A/S. Ole Dyring |
|
|
|
|
|
 Rank: Advanced Member
Groups: extranet\Forum
Joined: 3/11/2014(UTC) Posts: 22
|
Yes, that worked. Thanks so much Ole.
Cindy
|
|
|
|
|
|
TARGIT
»
TARGIT help & get help
»
TARGIT Decision Suite - help & get help
»
Dynamic Period not working for Month but works for Quarter
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.