Skip to content

Is there some way to aggregate attributes ? #125

@Akaori

Description

@Akaori

Hello,

I am using tm1py to create dimensions of Date.

Here is a exemple:

Screenshot_2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions