on 04-05-2012 11:43 PM
I have created a SQL script calculation view that utilizes variables. When trying to test this CV (using data preview), it prompts me to input the values for the variables, however it forces me to input a value for every variable. There are test cases where I would want to leave one or more variable blank or use a wildcard, however neither * or % work for wildcard.
Is there any way to set the variable to optional or use a wildcard? They are all set as VARCHAR, selection type Single Value, and marking as Input Parameter.
Thanks,
Cote Adams
We are using this trick as a filter with wildcard:
(in("DIMENSION_YOU_WANT_TO_FILTER",'$$INPUT_PARAMETER$$') or match ("DIMENSION_YOU_WANT_TO_FILTER",'*$$INPUT_PARAMETER$$*'))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i also have a requirement to search the data of calculation view based on Text with wildcard(non case sensitive).
any solution found ?.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cote,
Is your variable checked as 'Is Mandatory'?, if so make it as unchecked and see data preview
Can I know which HANA version are you using?
Regards,
Shireesha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem. You could find a workaround?
Greetings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.