on 02-26-2015 8:52 AM
Hi,
I am creating calculation view based on SAP HANA300. Here I have created two aggregations combined in join and mapping done for source and target.
Aggregation 1 has actual and aggregation 2 are plnd values.
In union I did mapping for source and target. Here my question is when mapping aggregation 1 fields to aggregation 2, in out put, only vaules for aggregation2 are displayed. Basically I didnt understood what SAP is trying to say. After mapping why only aggregation 2 values aer shown in output?
Thanks
Sri
Hi Sri,
Do a data preview on aggregation_1 node by right clicking on the node->data preview. Either Aggregation_1 has no data or both aggregation_1 and aggregation_2 have huge data. ie, more than the number of output result specified. By default it will show only 200 records. Try to increase it to 5000 and do a data preview. You might find aggregation_1 records lying below aggregation_2 records.
Hope this helps.
Regards,
Safiyu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sri,
I created a similar scenario and did the same as you have shown here..
Union Node:
Aggregation node:
Semantics:
And the final output:
From aggregation1 the output is with client . since aggregation2 doesnt have client it shows ? over there. And so on. I dont understand why you are facing this issue.
Dummy1 and Dummy2 tables have 6 records each. which after aggregating based on currency, i get 2 records for each of the aggregation node. So in final output after union and aggregation i get 4 records.
Regards,
Safiyu
Hi Saif,
I see there is some problem in aggregation 1.
When I right click on ZSAL_ACTUAL and do data preview, I get records. BUT when I right click on Aggregation_1 and do data preview. I dont get any records.
BUT
In Aggregation_2, When I right click on ZSAL_3RD and do data preview, I get all records and also when right click on Aggregation_2 I get AGGREGATED records.
The problem is in aggregation_1. I dont get any aggregated records. i get blank. belwo is screensshot
I tried with other table as well. I get records for that table in aggregation. The only problem is with ZSAL_ACTUAL only. Will there be any setting related to table??
Thanks
Sri
How did you verify that only the values from your Aggregation_2 are displayed?
Since you do a final aggregation as well, are you sure you didn't merge the values by summing them up?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for reply.
How did you verify that only the values from your Aggregation_2 are displayed?
I checked the values in the aggregation 2 table and they are same for gross amount and for net_amt, its a calculated column in aggr2 (gross amount * 9). So all the values are coming from aggr2 only.
Since you do a final aggregation as well, are you sure you didn't merge the values by summing them up?
In semantics by default, its key figures are aggregated as "SUM"
Thanks
Sri
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.