0% found this document useful (0 votes)
57 views3 pages

MDX Tips PDF

This document provides a 7 step tutorial for using a MDX Query Tool to generate MDX queries for pulling SSAS cube data into QlikView. The tool allows selecting dimensions and metrics from an SSAS cube to build an MDX query, and includes options to include load statements and connection details in the generated query. Additional steps describe searching for fields, testing queries, adding filters, and saving/loading queries.

Uploaded by

Vidhya Murali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views3 pages

MDX Tips PDF

This document provides a 7 step tutorial for using a MDX Query Tool to generate MDX queries for pulling SSAS cube data into QlikView. The tool allows selecting dimensions and metrics from an SSAS cube to build an MDX query, and includes options to include load statements and connection details in the generated query. Additional steps describe searching for fields, testing queries, adding filters, and saving/loading queries.

Uploaded by

Vidhya Murali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

xthview.com (2013) Qlikview MDX Query Tool Manual v0.

Qlikview MDX Query Tool Manual


Introduction
The tools helps you generate MDX queries that can be used in the QlikView script, allowing SSAS cube data
to be fetched into QlikView. The tool helps you to build the query, selecting what is needed from a list and
producing the MDX part of the script you need to copy and paste into the Qlikview script.

This tutorial will briefly explain the basic functionality of the application.

Tutorial
Step 1 ) In the Connection zone, start by setting up the SSAS server where your cube is made available. This
is the same server that you use in Excel, when you setup an Analysis Services connection. Confirm you
server by pressing the Connect button.

Step 2) If the connection is successful you’ll see all the databases available. Select the one you want to
extract data from. The list of available Cubes will be updated for your current selection. Select the desired
Cube. Below, the list of Dimensions and Metrics should update for the current Cube selection.

Step 3) In the Dimension and Metric list you can select the information you need for your analysis. You
need at least one dimension and one metric selected in order to produce a MDX query.

This example would produce a query like this one:

Step 4) Make sure that the “Include Load” check box is selected:

Page 1 xthview.com (2013)


xthview.com (2013) Qlikview MDX Query Tool Manual v0.2

This will ensure that a QlikView LOAD statement is added to provide a more readable column name.

Step 5) Make sure that the “Include Connection” check box is selected:

This will ensure that the connection to the SSAS cube is added to the script.

Step 6) Press Ctrl+A to select the entire query, and Ctrl+C to copy it:

Step 7) Paste it to the QlikView script window. Save, reload and you are ready to go!

Additional Step #1 – Dimension and Metric search


You can use the text box above the dimension and metric list in order to search for the desired fields by
name:

Page 2 xthview.com (2013)


xthview.com (2013) Qlikview MDX Query Tool Manual v0.2

Additional Step #2 – Test Your Query


When you query is ready you can test it to see if the result matches your expectations. Just press the Test
Query button:

Additional Step #3 – Apply a Filter


You can select a dimension you would like to use as a filter and then press the Add [Dimension Name]
filter button.

The button will pop-up a list of dimension values you can choose from.

Addition Step #4 – Save and Load


You can save the query you’ve built and keep on working with it later on. Just use the Save As and Load
buttons:

More questions?
Just ask, using [email protected] email.

Page 3 xthview.com (2013)

You might also like