Subsetcreatebymdx
Posted: Sun Jun 06, 2021 1:04 am
Hi ,
I am trying to create a subsetcreatebymdx with below code
vMdx= '{TM1FILTERBYLEVEL( {TM1SUBSETALL( [Price Range] )}, 0)}';
SubsetcreatebyMdx(subsetname,vmdx,0);
But its giving me an error unable to register the subset .
I want to use it for zero out in prolog .
But then I did a similar
SUBSETMDXSET(vDimension,vSourceSubset, vMdx );
SUBSETMDXSET( vDimension,vSourceSubset,'' );
And then did a ascii output and it wrote the values for price range n elements,
Why is my SubsetcreatebyMdx having issues here and can i not use it or when should i use it .
Thanks,
I am trying to create a subsetcreatebymdx with below code
vMdx= '{TM1FILTERBYLEVEL( {TM1SUBSETALL( [Price Range] )}, 0)}';
SubsetcreatebyMdx(subsetname,vmdx,0);
But its giving me an error unable to register the subset .
I want to use it for zero out in prolog .
But then I did a similar
SUBSETMDXSET(vDimension,vSourceSubset, vMdx );
SUBSETMDXSET( vDimension,vSourceSubset,'' );
And then did a ascii output and it wrote the values for price range n elements,
Why is my SubsetcreatebyMdx having issues here and can i not use it or when should i use it .
Thanks,