Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Use Microsoft Analysis Service Database

Hello, i m using the personal edition version 9 of qlikview..

in any version of qlikview like 9 / 10.

how to access the microsoft analysis service database cubes with dimensions and measures without use of

mdx query?



1 Reply
Not applicable
Author

Hi Brijesh,

First of all you need to enable adhoc distributed queries in SQL server for this to work (see the following link):
http://tejasnshah.wordpress.com/2009/03/19/sql-server-how-to-enable-ad-hoc-distributed-queries/

Once you have that configured an MDX statement similar to the following should work :

SQL SELECT * FROM OPENROWSET
('MSOLAP.3',
'Provide=MSOLAP.3;Integrated Security=SSPI;Persist Security Info=False;Data Source=My_AS_Server;Initial Catalog=Adventure Works DW;',
'SELECT {[Measures].[Sales Amount]} ON COLUMNS, {[Product].[Product].Members} ON ROWS FROM [Adventure Works]'
);

I hope this helps.

Rod