on 10-13-2015 2:01 PM
Hi All,
Below is my Data Model
and below is my Cal View
I have created a cal column in my Analytic (Projection 1) view called "Cal Year" as my base fact table does not have "Cal Year",
Now I have created a input parameter on the semantics of my Cal View and in my Project 2, I have applied a
filter on "Cal Year" (PS: I have created projection 2 so that I could apply filter on my calculated column).
Now, When I execute my query on my Multi Provider I get a input screen and I'm able to filter the data set as per cal year.. and it's working fine.
Now, I want the user to be able to choose a range i.e for example (2012 - 2015)
any suggestions please ?
Thanks,
Ashwin
Two input parameters, FROM and TO.
Apply the filter BETWEEN or a >= FROM and <= TO.
Evaluate performing a join to a date dimension to derive the YEAR as opposed to a calculated column. Applying a filter to a calculated column can be expensive as you need to generate the YEAR for every row in the table and then apply the filter.
Regards,
Justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin,
Thanks and I appreciate your suggestion.
I have created 2 i/p parameters on my HANA Cal View and in the Projection of my HANA cal view, I have
set a filter on 0Calyear (i.e btw ip1 and ip2).
In my BEx query I have created 2 manual entry variables with ref char 0calyear and was able pass the user
values smoothly through to my HANA Cal view.
Kind Regards,
Ashwin
Ashwin,
jundging on your screenshots I do not see why use HANA modelling. Enriching the data in BW (time dimension derivation in the transformation to DSO) is a go-for solution in this case.
Dmitry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please replace your input parameters with Filters option. It will work for Range.
- Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.