10-16-2023 04:02 AM - last edited on 10-16-2023 07:55 AM by JackLacava
I have Delimited list parameter for scale in Cube views, when added the Cube views to Books and given the value to parameter using change parameters option but it's still prompting for it when I ran the book.
Any suggestions, without updating the Cube views and get with Books only.
10-16-2023 05:59 AM
The syntax of book functions is quite confusing. Id check that. Otherwise You can technically run your parameter in a loop, however, nest an if statement within the loop and only allow the selection you want in your scaling parameter to pass. Ive done this on one of my books (out of laziness adapting it from another rather than building a new book!) And it gets round having to set up unique CVs without the Parameters.
Good luck!
10-16-2023 07:11 AM
Thanks for your response, Thomas.
I have tried it, still it is prompting for selection.
Thanks,
Gayathri.N
10-16-2023 08:15 AM
Ive always wrapped the loop variables in square brackets try [|Loop1Variable|] = [In Millions]
10-17-2023 02:10 AM
Thomas, after using square brackets also it is prompting for selection.
10-17-2023 04:26 AM
One thing to check is that Loop1variable is returning "In Millions". I.e. you have Loop1variable and Loop1displayvariable which relate to the two rows in the parameter. Easy to get caught out by this on a delimited list, I did!
10-17-2023 10:58 AM
Thanks Thomas, could you please provide the screenshot of if statement in the report book if possible.
10-18-2023 04:27 AM
here is an example of one of my working books:
Parameter:
Loop:
Change param:
If statement, It was shorter and more intuitive using Loop1displayvariable :
and the book object, note I dont have any required input parameters. This might be your issue as I think this overrides selections within the loop:
Finally the Tabs of the output report as proof :D. This book was quite complex as its three nested loops for currency, column set and V#:
10-18-2023 08:42 AM
Thanks for sharing it, Thomas.