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

Wrong Aggregation using Hierarchy in HANA MDX Provider with Excel or MDX in Hana Studio

$
0
0

Hello to everyone,

I get wrong results for Calculated Measures and DistinctCount Measures when querying my AnalyticView with hierarchy using SAP HANA MDX Provider in Excel or HANA Studio. If I query Sum Measures everything is fine.

 

Tested with Client Tools and Database Release 70 and 80

 

Querying Totals (Period 2013)  from AnalyticView in Excel - > correct results

 

Sum MeasureCalculated MeasureDistinctCount Measure
1.626.000   34.595,74   4

 

Querying Totals with Period hierarchy from AnalyticView in Excel or Hana Studi -> correct results for SUM, wrong results for Calculated Measures and DistinctCount Measure.

 

PeriodSum MeasureCalculated MeasureDistinctCount Measure
20131.626.000   245.114,3   9
  Q2/2013 862.000   86.600,0   4
    04/2013 600.000   24.000,0   1
    05/2013 204.000   51.000,0   1
    06/2013 58.000   11.600,0   2
  Q3/2013 764.000   158.514,3   5
    07/2013 600.000   85.714,3   2
    08/2013 114.000   22.800,0   2
    09/2013 50.000   50.000,0   1
Total          1.626.000   245.114,3   9

 

 

At the Month level the calculation is correct. Aggregation for Quarter and Year for Calculated and Distinct are wrong. Aggregation method for Calculated and DistinctCount Measure in conjunction with hierarchy seems to be sum.

 

Is this a known issue?

 

 

Thanks in advance,

Ulf


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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