on 03-02-2016 8:22 AM
Hi all,
I want to use an Input Parameter in an Input Parmeter.
I have these Input Parameter:
Date_from
Date_to
TimeRange (1 or 2)
Date_to_2
Date_to_2 is use in the mapping of the underlying Views.
Input Parameter Date_to_2 is calulated in an expression:
if(('$$TimeRange' = '1', '$$Date_from$$', '$$Date_to$$')
Is this possible?
Depending on the TimeRange I want to set the Date_to_2, which is used in the underlying calc. Views (via Data Source Mapping).
Is this possible?
Best Regards
thorsten
Hi Thorsten,
As far as I know Input parameter can't be used inside another input parameter.
Can you please post some screenshots to understand the scenario well.
Best Regards,
Shireesha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shireesha,
thanks for your comment. Here are some screenshots:
This are my Input parameters:
TimeRange could be 1 or 2
if TimeRange = 1, P_ValidityStartDate2 = P_ValidityStartDate
if TimeRange = 2, P_ValidityStartDate2 = P_ValidityEndDate
And this input parameter is used for the underlying views:
Example:
IF TimeRange = 1
Selection period for underlying Views is 01.01.2015 - 31.12.2015
IF TimeRange = 2
Selection period for underlying Views is 31.12.2015 - 31.12.2015
Best Regards
Thorsten
Hi Thorsten,
As I said before input parameter can't be used inside another input parameter but your output can be achieved as below.
-> Create calculated column with the expression
if (TimeRange = =1, P_ValidityStartDate2, P_ValidityStartDate)
-> Now create Date_to_2 column type input parameter using above created calculated column which can be used to map for underlying views
Hope this helps you.
Best Regards,
Shireesha
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.