on 07-04-2014 11:14 AM
Given that my Googling so far has not provided the answer I've been looking for ... the chances are that I'l trying to do something that should not be done !
(I'm a SQL Server developer trying to get used to the HANA world)
But let's see....
I have created an Attribute view - all good.
Now I want to create several Views ontop of that.
Each new view will have different filters to produce specific results.
So I created a Graphical Calculation View.
Added my AV to the Projection.
Added my output columns.
But for the life of me .... I cannot figure out how to apply a filter !?
I've googled 'HANA Calculation View Filter' and such variants; but nothing relevant in results !
I have right clicked everything in sight to find a context menu option; but nothing.
What I have found are references to 'Parameters'.
Some of these references indicated that they produce a user prompt - and that is no use in my situation.
What I have managed to do, is apply a filter via the 'Semantics' component of the Designer.
This successfully filters results when viewed in the 'Open In Data Preview" ; however....
when I call the data from SAP Information Steward .... the data is NOT filtered.
I am obviously missing some basic concept in my understanding.
Yet after hours & hours of reading guides and articles ... noone seems to explain from a high level what the options are.
Any advice, pointers, references welcome !
Many Thanks
Hi There,
You have 2 options :
1) Variables -- These can be added at the semantic level on the attribute as you mentioned alredy
2) Input parameters ( Filters at projection level using Expression )
Example you can see in the below blog:
As you are mentioning the filtering is happening from Data priview in HANA and when you are calling from SAP Information steward it is not happening.
What you might want to check is if variables are supported or Input parameters can be mapped from this tool.
Also in this are you are getting any prompt for you to enter values?
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.
Hi Krishna,
Thanks for the references.
Whilst I read them, I can answer some of your questions....
The client tool (that is going to read the data) does not support parameters or suchlike.
It is performing a simple 'Select f1,f2 from tablename'.
This is why I need 'hardcoded' filters on the calculation view.
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.