on 02-25-2014 10:21 AM
Hi i have a problem with count measures. I have two analytic views and they count columns. The analytic views works perfect. Now i want to create a calculation view who compare these two analytic views. The problem is that the analytic views doesn't work in the calculation view.
The counted base columns are NVARCHARS.
What can i to compare this analytic views?
Hi Matthias,
You must have done something wrong. In your analytic view, the measure should be marked as a measure, of aggregation type COUNT.
In your calc view, you should be using a projection node and not an aggregation node as you are doing right now.
Then it should work great. Make sure you mark the COUNT as a measure of type "SUM" in the calc view semantic node. Remember... when you aggregate COUNTs, you need to use aggregation type SUM!
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So now its really strange. I closed the window and reopen it. Now i have in the lower projections a new column row.count. I added this to the union and now i can select Measure in the Semantic.
But now i get a error message on validation:
Creation of information view failed.
Cause: Dependent information views may not have been activated successfully.
this issue is going in different directions. Would suggest you to "Redeploy" the analytic views and see after the redeployment if still you are seeing that row.count field?
And after that would rather suggest you to remove the analytic views and add them again in the projection and then map the columns to see if it works. And also check after again adding to the projection if the count is being added as VARCHAR or INTEGER.
Also i have doubts on how did you get into using "Projection" before semantics when you have choosen "Multi dimension reporting" it should ideally be "Aggregation" node.
Do convert the Projection node to Aggregation node.
Regards,
Krishna Tangudu
Hi Mathias,
The problem is that the analytic views doesn't work in the calculation view.
Can you elaborate this to understand the issue you are facing?
And also would want to know what kind of comparison are you doing? i.e are these both analytic views are similar in structure but representing different "Facts" like Actuals Vs Plan?
Or did you mean anything else?
Regards,
Krishna Tangudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I try something with the SAP SFLIGHT example. I have two analytic views, the first view count the bookings per Airlines total and the second one count bookings with departure from Frankfurt. So i count the SBOOKID (its a NVARCHAR) in both views. Now i want to calculate the proportion between the total bookings and the bookings from Frankfurt.
But in the calculation view the counting of the analytic views doesn't work.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.