Strtomember: string to memeber, returns the specified member in the string expression,
Strtoset: string to set returns the set specified in the string expression.
Below are some examples of writing
1.1. {strtomember ('[organizational structure dimension]. [superior organizational unit]. & [2]')}
1.2, {strtoset ('{[organizational structure dimension]. [superior organizational unit]. & [2]}')}
1.1 and 1.2 are added to the complete MDX, And the execution results are the same. 1.1 and 1.2 are also the original usage of these two functions.
-------------------------------------- Split ----------------------------------
2.1. strtoset ('{[organizational structure dimension]. [superior organizational unit]. & [2]. Children }')
2.2, {strtomember ('[organizational structure dimension]. [upper-level organization]. & [2]'). Children}
Based on the subset obtained above, the results of the above two operations are consistent in the complete MDX.
-------------------------------------------------------------------------
1.1 and 1.2
2.2.1. strtoset ('{[organizational structure dimension]. [superior organizational unit]. & [2], [organizational structure dimension]. [superior organizational unit]. & [4]}')
2.2.2. strtoset ('{[organizational structure dimension]. [superior organization]. & [2]. children, [organizational structure dimension]. [superior organization]. & [4]. children }')
2.2.1 and 2.2.2 strtomember do not support the above statement,
-----------------------------------------------------------
Operation on parameters:
Strtomember can directly act on @ strparas, @ strpara is a string, and @ paras is a set that contains at least one {0, 1, 2, strtoset cannot directly operate on the @ paras sub-member parameter, similar to strtoset (@ paras ). the children statement is incorrect.
3.1. strtomember (@ strpara)
3.2. strtomember (@ strpara). Children
3.3. strtoset (@ paras)
There is not much research on the performance of these two functions. There is not much information about these functions. You can write out all the questions you may have in your study.