I'm creating a ssrs report from a ssas cube. when i click on the excel cell it passes the values to SSRS parameter list and i need to split the string and place each value on a variable in the stored procedure. The string that i receive will be in the following format.
[Company Branch].[Reg - Comp - Bran Name].[All]
[Company Branch].[Reg - Comp - Bran Name].[Region Name].&[EU]
[Company Branch].[Reg - Comp - Bran Name].[Region Name].&[EU].&[LDE]
[Company Branch].[Reg - Comp - Bran Name].[Region Name].&[EU].&[LDE].&[LDE]&[HAM]
The value may be in any one of the format. now my requirement is to split the string and place each value in a variable.
Eg. @region="EU"
@company="LDE"
@branch="HAM"
And if the value is all then i need to have ALL in each variable. If i receive only region then the company and branch has to be null.