In SSRS 2016, I'm writing some reports against a Tabular instance. We're using MDX as the query language. I'm having issues specifying a default unique name by hand in the report. Any ideas? Is it a bug? An escaping issue?
We've got a number of parameters where we pull the dimension attributes like this as the available values:
WITH MEMBER [Measures].[Label] AS [Dimension].[Dimension Attribute].CURRENTMEMBER.MEMBER_CAPTION
MEMBER [Measures].[UniqueName] AS [Dimension].[Dimension Attribute].CURRENTMEMBER.UniqueName
SELECT {[Measures].[Label], [Measures].[UniqueName] ON 0,
[Dimension].[Dimension Attribute].Members ON 1
FROM [CubeName]
If I try to set the default value by hand, Visual Studio seems to recognize the value, but the SSRS server does not. I am setting it to:
[Line of Business].[Line of Business].[All]
SSRS seems to escape this to
\[Line of Business\].\[Line of Business\].\[All\]
This is also an issue in trying to pass selections among reports as well. Of note, if I make the default driven by a query, SSRS on the server is happy to select the default:
WITH MEMBER [Measures].[UniqueName] AS AS [Dimension].[Dimension Attribute].CURRENTMEMBER.UniqueName
SELECT [Measures].[UniqueName]
FROM [CubeName]
WHERE [Dimension].[Dimension Attribute].[All]