on 2023 Sep 20 12:57 PM
Hello experts,
we are currently creating a report within the SAP Datasphere that is used by SAP Analytics Cloud. While checking the numbers in the frontend (SAC) I noticed that these numbes do not match those in the SAP Datasphere. At the moment I know two sources of error
The correct data is on the left side of the image. The sql statement referes to the newly create graphical view with deleting an readding the joins. On the right side is the original view where I noticed the error.
Has anyone had similar experiences and found a way to avoid these problems?
Thanks in advance and
BR
Philipp
Request clarification before answering.
Hi Philipp,
this is a common occurence with data modeling in general. There is no way to help you directly without analyzing the view definitions in detail. But as a suggestion, take a look at the following:
- the "distinct" flag in some nodes of the graphical view can suppress duplicates, which is helpful to know when you are analyzing and getting duplicates in some area, but not another
- for every join check the join condition (mapping) => e.g. when you have a left join and not every primary key of the right side of the join is mapped in the join condition, this would create duplicates
- similarly check every association making sure that all primary keys of the right side are mapped, I think it would throw an error before deployment in that case anyway, but not sure (that could explain the Analytic Model behavior)
Good luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Irvin,
thanks for your answer.
We already checked the mapping of the joins within the Graphical View. At the moment we have two identical views showing different numbers. The Analytic Model also doubles the numbers when I delete all associations. This problem occures when creating the analytic model manually or through the link in the previous view (Fact or Analytical Dataset).
Out of couriosity I tried to delete one primary key of the association and created the Analytic Model. As long as one primary key of the right sight of the association is mapped no error will be thrown.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.