Qlik Community
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join Us
Connecting and querying a Microsoft Analysis Services Cube using MDX results in an error message.
Querying a Microsoft Analysis Services Cube using MDX requires wrapping the MDX statement into an openrowset.
Ensure OPENROWSET is enabled on the Microsoft Analysis Services server.
Ensure the correct version of the OLEDB provider "Microsoft OLEDB for Olap Services" is installed on the QlikView client machine.
MDX statements can be wrapped into a two dimensional data set using OPENROWSET similar to this example:
SQL SELECT * FROM openrowset('MSOLAP.3','DATA SOURCE=localhost;Initial Catalog=Adventure Works DW', 'SELECT { [Measures].[Sales Amount], [Measures].[Tax Amount] } ON COLUMNS, { [Date].[Fiscal].[Fiscal Year].&[2002], [Date].[Fiscal].[Fiscal Year].&[2003] } ON ROWS FROM [Adventure Works] WHERE ( [Sales Territory].[Southwest] )')
Collaborate with over 60,000 Qlik technologists and members around the world to get answers to your questions, and maximize success.
Join UsSearch Qlik's Support Knowledge database or request assisted support for highly complex issues.
Submit a caseExperiencing a serious issue, please contact us by phone. For Data Integration related issues please refer to your onboarding documentation for current phone number.
Call Us