-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Labels
Description
Hello,
I am using tm1py to create dimensions of Date.
Here is a exemple:
Using tm1py I created these two attributes:
- The first attribute refers to weekday
- The second refers to week of month
Is there some way to represent the values from daily to weekly or using week of month ? A kind of consolidation using mdx ?
I was trying to represent the dataset on PAW - Daily, Weekly and Montly using the same dimension of Date, but I had difficult to represent weekly data.
I tried things like that:
{INTERSECT(
FILTER( {TM1SubsetAll([Data])}, SUM([Data].[Ano] = '2019' AND [Data].[Mês] = '01' AND [Data].[Week of Month] = '1'),
FILTER( {TM1SubsetAll([Data])}, SUM([Data].[Ano] = '2019' AND [Data].[Mês] = '01' AND [Data].[Week of Month] = '2'),
FILTER( {TM1SubsetAll([Data])}, SUM([Data].[Ano] = '2019' AND [Data].[Mês] = '01' AND [Data].[Week of Month] = '3')
)}
But it doesn't work.
