Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Number of Rows difference between CRM query and HANA view

$
0
0

Hi,

 

As per my understanding, The Issue is,

Staging Table has less no of rows and

The Analytic / Calc view which is created on top of this staging table has more no of rows.

 

In Analytic / Calc view,

Have you joined this Staging Table to any other Table.

If Other Table has duplicate entries, Then your final view output would have more rows.


Example:


Staging Table has 3 rows.


 

Staging Table
IDVALUE
1100
2200
3300

 


Table_B has 3 rows and The Values (ID=1) are getting duplicated.


 

TABLE_B
IDDESC
1A
1A1
2B
3C



In Calc View, Staging Table joined with TABLE_B by ID Column via Left Outer Join.


Then the Final Calc View Output will have 4 rows but Staging Table has 3 rows only.


 

CALC_VIEW_OP
IDDESCVALUE
1A100
1A1100
2B200
3C300


Regards,

Muthuram


Viewing all articles
Browse latest Browse all 8950

Trending Articles



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