on ‎2018 Oct 25 10:17 PM
Hi ,
I have a query on input variables how they work .
I have created two input variables(Variable 1 and Variable2) on YearPeriod and used as IP in Calculation view.
When I tried to view the data in Data preview from 2018002(IP1) to 2018004 (IP2), data also displayed for 2018003 also along with 2018002 and 2018004 which means it is taking as 'Between' operator instead of 'Equal 'operator . Just wondered where and how this Between operator is taking place .
Appreciate any advice .
Thanks
Request clarification before answering.
Hi Manoj,
Following things might have happened in your calculation view.
As there are two input parameters(IP1,IP2) are applied on the same Attribute i.e. Period BETWEEN operator might been used.
Also please check how the input parameter mapping to PERIOD attribute happened in the view.
Please share the filter expression screenshot to point out the exact issue.
Currently, in your model is is using BETWEEN operator instead of EQUAL because you are applying the filter on same Attribute.
Thanks,
Jay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
1. It would be better if you provide us also filter expression for that two input parameters, but to achieve what you want using two input parameters the filter expression should look as follows:

2. Optionally you could create only single input parameter of Multiple Entries type:

And in filter expression apply it directly on YearPeriod column (notice that single quotes are applicable for that kind of parameter)

When you open your report you can provide multiple entries for that 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 Konrad,
Thanks . I have now upvoted .
Thank you Konrad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Jayashankar and Florian.
There is a filter in the model between is used . That explains the ansers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.