Prompt-in-prompt (Nested prompt) feature in a FreeForm SQL Report
In some business scenarios, it is required to implement prompt-in-prompt (nested prompt) feature to use the answer of one prompt to qualify on the elements of another prompt in Freefrom SQL reports in MicroStrategy Developer 9.4.x-10.x. The following procedure describes how to achieve prompt-in-prompt in a Freeform SQL report in MicroStrategy Tutorial project:
- Create a new filter, select Add an Attribute qualification and choose the highest level attribute Country. Make sure to Qualify On: Elements. Click Prompt as the image shown below. Accept all the default values without any changes in the popped up window after clicking on "Prompt" as shown below. Save the filter as "Country Filter".
- Click "Prompt", choose "Use a filter to reduce the number of elements" option and select Country Filter created in last step, as shown below. Save the filter as "Region Filter".
- Select Filter definition prompt -> Choose from an attribute element list as shown below.Choose attribute Call Center and use the Region Filter created in the previous step. Accept the other default values. Save the prompt as "Call Center Prompt".
- Create a FreeForm SQL Report and add this nested prompt into it.Type SQL statement and insert Call Center Prompt created in the previous step.
- Save and run the report. It will prompt for Country, Region and Call Center one by one in different pages. As images below.
Great ¡V I should certainly pronounce, impressed with your site. I had no trouble navigating through all tabs as well as related info ended up being truly easy to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your client to communicate. Excellent task.. Strategy Leap
ReplyDelete