Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Using level columns from an MDX query

$
0
0
Hi,
SSIS does this thing with MDX queries to a SSAS database where it breaks down hierarchies to their individual levels. For example when I have a query like this:
SELECT { [Measures].[Amount] } ON COLUMNS,
{ DESCENDANTS([Account].[Account] ) } ON ROWS
FROM [Cube]
SSIS gives me [Account].[Account].[Level 02 through 05].[MEMBER_CAPTION] and [Measures].[Amount] as columns. In SSRS I get only Account and Amount. I tried adding a query column through dataset properties like this <?xml version="1.0" encoding="utf-8"?><Field xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="Level" UniqueName="[Account].[Account].[Level 03]" /> but it doesn't work. Can I get Level 03 as a column in SSRS with my query? If not, then what should I do to my query to get Level 03 as a column?

Viewing all articles
Browse latest Browse all 10045

Trending Articles