We encountered an issue where we tried to pass several prompt answers through parameterized links from one cube-based dashboard to another. We were able to get the normal methods to work, however, when the “all” option was selected, it didn’t function as desired. By not enabling, we would be sacrificing the end user experience; something we were determined not to do.
For example: using the link editor and selecting the “answer prompts dynamically” option worked, but if a user had a selector set to “all” it would not answer that prompt. We tried numerous approaches to fix this and have the ability to pass “all” as a prompt answer, including, using value prompts, setting up our prompts directly in the report, but the method outlined below was the solution that worked for us in the end.
Step 1 - Set Up Your Prompts
b. View > Source
c. Use Ctrl+F to help find the proper area in the source code. Type in the attribute name of the selector. You’re looking for the “<span id=”###”” that belongs to each selector. Write down the number you find for each for. For example in this source code the Node Number for Brand is K72.
d. Repeat for all selectors.
For example: using the link editor and selecting the “answer prompts dynamically” option worked, but if a user had a selector set to “all” it would not answer that prompt. We tried numerous approaches to fix this and have the ability to pass “all” as a prompt answer, including, using value prompts, setting up our prompts directly in the report, but the method outlined below was the solution that worked for us in the end.
Step 1 - Set Up Your Prompts
- Right Click > New > Prompt
- Select "Filter Definition Prompt" and then "Choose from an attribute element list." Click Next.
- Choose your attribute. Click Next.
- Make sure "List all elements (no restriction)" is selected. Click Next.
- Make sure "Prompt answer required" is unchecked. Click Next.
- Do not select any default answers.
- Finish and Save.
- Right Click on the Report > Edit
- Under the "View Filter" box, click "Click here to start a new qualification"
- Click on "Field" and scroll all the way to the bottom and choose "Select a prompt..."
- Find the prompt you created. Click OK.
- You should now see "Shortcut to: [your prompt name here]"
- Repeat for all necessary prompts. Save and Close.
- On your Parent Document - Right Click > Edit
- Create your Selectors. Make sure "Apply selections as a filter" and "Show option for All" are checked. Also, ensure that "Current state" is set to "Unset (no filter)" and the Selection type is set to "Include".
- Repeat for all necessary selectors. Save.
- In the Panel Stack that your selectors are in, "Create a Panel Stack" to place your link in.
- Place text or an image to be used as your link. Save.
- Find your selector :"nodes"
b. View > Source
c. Use Ctrl+F to help find the proper area in the source code. Type in the attribute name of the selector. You’re looking for the “<span id=”###”” that belongs to each selector. Write down the number you find for each for. For example in this source code the Node Number for Brand is K72.
d. Repeat for all selectors.
- Find the link to your Child Document.
a. In MicroStrategy Web, Right Click on the Child Document > Show Link
b. Copy and paste the link into a text editor.
c. Remove everything before "main.aspx?...."
d. Also remove “Server=____” This will prevent the link from going back to the wrong server after migration.
Your link should now look something like this:
f. Using your nodes construction the rest of your link using the following method:
{&Attribute@GUID};{&CurrentSelectionElementID:Node#&}
For example:
{&Brand@GUID};{&CurrentSelectionElementID:K72&}
Note: If your Attribute name is more than one work surround the ID with square brackets like so:
{&[Brand Family]@GUID};{&CurrentSelectionElementID:K72&}
g. Using comma’s to separate, add all of the ID Syntax’s to the end of your link. For example:
Main.aspx?&Project=MicroStrategy+Tutorial&port=0&evt=2048001&src=Main.aspx.2048001&visMode=0&documentID=039EDS36587CV6S8E4S68AZ354¤tViewMedia=8&elementsPromptAnswers={&Brand@GUID};{&CurrentSelectionElementID:K72&},{&Category@GUID};{&CurrentSelectionElementID:K67&},{&Year@GUID};{&CurrentSelectionElementID:K89&}
Step 6 - Add your link
With this method we were able to give the client their desired ability to pass selector from one dashboard tier to the next. Allowing them to effectively drill down through the data in a linear fashion, without having to reselect filters or answer prompts. Thus, creating a seamless navigation process throughout all the dashboards.
b. Copy and paste the link into a text editor.
c. Remove everything before "main.aspx?...."
d. Also remove “Server=____” This will prevent the link from going back to the wrong server after migration.
Your link should now look something like this:
Main.aspx?&Project=MicroStrategy+Tutorial&port=0&evt=2048001&src=Main.aspx.2048001&visMode=0&documentID=039EDS36587CV6S8E4S68AZ354¤tViewMedia=8
e. Add “&elementsPromptAnswers=” to the end of your linkf. Using your nodes construction the rest of your link using the following method:
{&Attribute@GUID};{&CurrentSelectionElementID:Node#&}
For example:
{&Brand@GUID};{&CurrentSelectionElementID:K72&}
Note: If your Attribute name is more than one work surround the ID with square brackets like so:
{&[Brand Family]@GUID};{&CurrentSelectionElementID:K72&}
g. Using comma’s to separate, add all of the ID Syntax’s to the end of your link. For example:
Main.aspx?&Project=MicroStrategy+Tutorial&port=0&evt=2048001&src=Main.aspx.2048001&visMode=0&documentID=039EDS36587CV6S8E4S68AZ354¤tViewMedia=8&elementsPromptAnswers={&Brand@GUID};{&CurrentSelectionElementID:K72&},{&Category@GUID};{&CurrentSelectionElementID:K67&},{&Year@GUID};{&CurrentSelectionElementID:K89&}
Step 6 - Add your link
- Open your Parent Document - Right Click > Edit
- Right Click on your link text or image > Properties
- Under the General Tab, check "Is a Hyperlink" and paste your Syntax in the provided box"
- Click OK. Save and Close.
With this method we were able to give the client their desired ability to pass selector from one dashboard tier to the next. Allowing them to effectively drill down through the data in a linear fashion, without having to reselect filters or answer prompts. Thus, creating a seamless navigation process throughout all the dashboards.
Comments
Microstrategy Online Training Hyderabad
Microstrategy Online Training india
micro strategy certification training