Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: making a drill down on an analytic view using MDX

$
0
0

Hi Mohamed,

 

Ok I misread your earlier post, and your actual requirement is how to execute MDX statements in HANA SQL editor. Please see below -

 

-----SAMPLE MDX Statement

MDX SELECT

FROM [AN_PUR_DOC]

WHERE [MEASURES].[NETWR]

 

The above query yields the following result

Capture.PNG

 

Now copy the GUID value and go back to the editor of the same session and run the following query by replacing the above query with the below

MDX GET_CELLDATA <GUID>

This will result in the following -

Capture.PNG

 

I did not really create an advanced query, but this should give you an idea of how it works. As you can see from my prior query you do not need to specify the schema and name of the column view, just specifying the name of the analytic/calculation view is sufficient.

 

Also if you want to expose MDX data as a service you may want to look into the XMLA service. This service enables MDX queries/results to be passed between the application and HANA views.

 

Thanks,

Sharan


Viewing all articles
Browse latest Browse all 8968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>