- Prompt for Table or Chart when refreshing a document
- In Desktop Intelligence, this was easy with “Hide Block”
- But we can make it work in Web Intelligence, too
- We start in Universe Designer, and create a Prompt object
- Disclaimer: This object will not parse, but will work when used with other objects
- Next, we create a query, using the new object
- None of those objects are used in the report
- Create 2 variables for each universe object:
Chart Year: =If(UserResponse("Display Data in
Table or Chart?")="Chart";[Year])
Table Year: =If(UserResponse("Display Data in
Table or Chart?")="Table";[Year])
- Create a table using the “Table” variables
- Create a chart using the “Chart” variables
- Set the Table and Chart to not be shown when empty
- Place the chart on top of the table
The Result:
No comments:
Post a Comment