Hello everybody,
how can I define in MDX a subset with the interval 000 -* to 999 -* ?
Thanks
Mdx Interval definition
-
- MVP
- Posts: 3654
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Mdx Interval definition
Code: Select all
{FILTER(
{TM1SUBSETALL( [DimName] )},
[DimName].CurrentMember.Name >= "000" AND [DimName].CurrentMember.Name <= "999"
)}
Re: Mdx Interval definition
many thanks Lotsarm,
I am going to test it with the strings '000 -' to '999 -'
I am going to test it with the strings '000 -' to '999 -'
Re: Mdx Interval definition
The complete solution looks like :
{FILTER(
{TM1SUBSETALL( [RLS_Tarif] )},
[RLS_Tarif].CurrentMember.Name >= "000" AND [RLS_Tarif].CurrentMember.Name <= "999"
)}
{TM1FILTERBYPATTERN(
{TM1SUBSETALL( [RLS_Tarif] )},
"??? - *")}
It´s the first time i use CurrentMember.
Thanks
{FILTER(
{TM1SUBSETALL( [RLS_Tarif] )},
[RLS_Tarif].CurrentMember.Name >= "000" AND [RLS_Tarif].CurrentMember.Name <= "999"
)}
{TM1FILTERBYPATTERN(
{TM1SUBSETALL( [RLS_Tarif] )},
"??? - *")}
It´s the first time i use CurrentMember.
Thanks