on 04-02-2014 4:50 AM
Hi,
Has anyone succeeded in building a hierarchy on top of a calculation view with optional input parameters, where an input parameter is not filled?
The original requirement came from the wish to create a parent child hierarchy on a calculation view that was copied into the customer space from a HANA Live Financial Statement query view, but I have found the following when creating a simple level hierarchy on a calculation view that consumes one table. The Calculation View has one Input Parameter where the 'mandatory' box is unchecked.
When I run the view I see the following behaviour in HANA Studio and Analysis for Excel
P_PROFITCTR is not a mandatory parameter, but the selection for the hierarchy view thinks it should be. I don't find any notes around this issue, so I don't think it's version related, however the version I have used for this test is 1.00.70.
It's a shame we can't currently build the hierarchy as the parent child relationship is provided in HANA Live view NewGLFinancialStatementQuery.
Thanks,
Ken
I should add the comment that hierarchies do work in HANA SPS07 with optional input parameters. A new type of calculation view was introduced in SPS07 - the Star Join. We have found problems in SPS07 with hierarchies in a star join, however in SPS08 it seems to work. Given at this point SPS08 has not achieved 'data centre' approved status, I can't guarantee this will work as intended, but something worth looking.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ken,
From studio, only parent child hierarchy supports input parameter, and not level hierarchy.
Regards,
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ken,
Your error message is showing that you are not mentioning values of IP for P_PROFITCTR column. Since you have mentioned IP as not mandatory, can you try to copy the model & activate it again.
You can also try with option of creating variables at semantic layer for filtering columns .
Kulwinder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kulwinder,
Thank you for your response.
I have created this scenario a few times, so I don't believe copying and reactivating is going to help.
I'm pretty sure that if I change to optional variables instead of input parameters the hierarchy will work. However I would like it to work on HANA Live content, and it's not feasible to recreate their views from the ground up, plus input parameters are also used in formulas, not just as a filter.
Regards,
ken
Hi Ken,
We have been facing similar issue. We have even tried to set default value and as optional parameter. View still fails to create hierarchy (we are not using HANA live). As mentioned on page 97 of HANA modelling guide input parameter is mandatory from engine point of view. Hierarchy is generated as column view during the initial activation of calculation view and therefore expect a value by caller.
This seems to be a product error. Some one from HANA development team should explain this issue in detail. I would expect someone like reply to us.
At the moment, we cant use input parameter for date prompt which gives us calendar popup feature for date selection. Hierarchies just don't work with input parameter. We are missing something.
Regards
Angad
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.