Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

MDX: Unable to get Column values in Hana Studio

$
0
0

Hi Guys,

 

I have built a basic hierarchy in Hana Studio that I am exporting it to Excel for further analysis using OLAP Extension.

There I am getting an MDX Query for the hierarchy that I am further using it in Hana Console for analysis purpose.

 

Query Is:

 

SELECT NON EMPTY CrossJoin (

Hierarchize (

  AddCalculatedMembers (

   {

    DrilldownLevel (

     { [COUNTRY].[COUNTRY].[All].[(all)] }

    )

   }

  )

)

, Hierarchize (

  AddCalculatedMembers (

   {

    DrilldownLevel (

     { [CITY].[CITY].[All].[(all)] }

    )

   }

  )

)

) DIMENSION PROPERTIES COUNTRY_UNIQUE_NAME

, HIERARCHY_UNIQUE_NAME

, [COUNTRY].[COUNTRY].[COUNTRY].[COUNTRY]

, [CITY].[CITY].[CITY].[CITY] ON COLUMNS

FROM [HIER_COPY_CHECK] CELL PROPERTIES VALUE

 

 

Afer that I got the GUID

that I used to show the cell value in the console:

MDX GET_CELLDATA 55C0C1FFB7B06201E10000000A749ED3

 

 

Hierarchy Output at Excel side:

 

c2.JPG

 

SQL Result I am getting in Hana Console:

 

c1.JPG

 

I want to get Country and City Value in the column here in the output, How I will get that???

 

& What is this value corresponds with regard to the ordinal as I dont have any Measures in the hierarchy???


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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