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

Issue with number of records and filtering in Calculation views

$
0
0

Hi Experts

 

Here is a case I cannot explain nor solve : filters are just not working in HANA the way they are supposed to...

 

We have a base view(CV_STEP1TO5_NO_AGGR_TEST) which has a calculated column (FILTER_1TO5_OK) with 2 distinct values ('ok' and 'ko') with 'ok' having a count of 25,545,855 and 'ko' having a count of 356,369.

 

We use this base view as data source in a projection of other view (CV_STEP6TO8_NO_AGGR_TEST).

We have filtered the data on this projection with filter on column FILTER_1TO5_OK = 'ok'.

 

That means the data preview on the 'upper 'projection in the view CV_STEP6TO8_NO_AGGR_TEST should show the data only for 'ok' with count 25,545,855.

But the problem is, the count shows 25,902,224 which is sum of 'ok' and 'ko' count (25,545,855 + 356,369) which is pretty strange.

 

The images for the above case are attached.

 

Base View

(CV_STEP1TO5_(...))

Upper View

(CV_STEP6TO8...)

Capture1to5.PNGCapture1to6.PNG
Base_View_banked.pngUpper_view - Blanked.png

 

We tried several kind of flags (numeric, chars..) , several kind of base view (calc dimension, calc cube, attribute) with the same results.

This is a bit maddening, and probably there's a silly stupid explanation for that, beyond my reach.

 

Any hint is more than welcome.

 

Thank you.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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