12-07-2022 10:58 AM - last edited on 05-25-2023 05:51 AM by JackLacava
I've got a Tableview embedded in an Excel workbook and would like to be able to prompt the user to select an entity and period that is then used to filter records. Is this possible?
Solved! Go to Solution.
12-07-2022 11:16 AM - edited 12-07-2022 11:17 AM
Yes, this is possible.
You define your parameters in a list. "SelectEntity" could be a normal parameter i.e., Member List, Member Dialog etc.
Then retrieve them in your Table View rule using the strings in your SQL query.
You'll then get prompted for these parameters on refreshing the Table View.
12-07-2022 11:16 AM - edited 12-07-2022 11:17 AM
Yes, this is possible.
You define your parameters in a list. "SelectEntity" could be a normal parameter i.e., Member List, Member Dialog etc.
Then retrieve them in your Table View rule using the strings in your SQL query.
You'll then get prompted for these parameters on refreshing the Table View.
12-07-2022 01:43 PM
Thanks Lee. It works! What threw me off is that the documentation describes that you can create a list of parameters but fails to include that we should be returning the list back to the table view i.e. missing the "Return list" line in the code.
12-08-2022 03:37 AM
No problem, happy it's working.
12-21-2023 05:08 AM
Hi both,
Maybe a silly question but when I add the parameter it just gives me a textbox to input a value for the dimension. Is it possible to present the user with a memberdialog or a list?
12-21-2023 07:50 AM
Hi Gorkem,
You certainly can by 1st defining a dashboard parameter (be it delimited, member list or member dialog) and then use it in cube views, table views, books, etc. Below is one example which I then call using |!DepartmentSelect!| elsewhere:
12-21-2023 10:21 AM
Thanks Cosimo,
I realized there was something wrong with how I set up the parameter. I'm also struggling to get the result of the parameter selection and use it to filter the SQL. Can you let me know how did you achieve that? I want OS to filter the SQL based on the year and scenario selection from user.
02-29-2024 02:17 AM
Hello,
I have a doubt about table view custom parameter. Let's say we have defined two parameters namely "Param_1" and "Param_2". the requirement is my "Param_2" values should be based on "Param_1" is it possible to achieve?
When I select a Value in "Param_1" the available items in "Param_2" should change.