Select the Online dictionary check box and click Next to display the

Creating and Maintaining Conditions 12-15 condition. This is because the data in the summary table will be only for the database user that created the summary folder. To enable database user queries to use summary folders where the source folders use mandatory conditions for example, with row level security, you must perform the following steps before you create the mandatory condition. To enable summary folders for database user queries where the source folders contain a mandatory condition:

1.

Create a summary folder based upon folders where no mandatory condition for example, row level security has yet been set up. For more information about creating summary folders, see Chapter 14, Managing Summary Folders and Chapter 15, Creating Summary Folders Manually .

2. Set the summary property Available for Queries to ’No’.

This summary folder references data for the database user that created it. You must set this property to No to prevent end user queries from accessing this summary folder.

3. optional Set the summary folder properties Next Refresh and Refresh Interval

to suitable values. For more information, see the Summary Properties dialog . 4. Create a database view against your summary folder. Ask your database administrator for more information as this is done outside Discoverer. Use a WHERE clause to apply the mandatory condition for example, row level security to the view just created. For example: SQL WHERE Userid=’SMITH’ AND Region=’WEST’ 5. Register the view in Discoverer as an external summary. For more information, see How to create summary folders based on external summary tables .

6. Set the summary property Available for Queries to Yes.

You must set this property to Yes to enable database users to access this summary folder. The Next Refresh and Refresh Interval summary folder properties should be set to Never in Discoverer. For more information, see the Summary Properties dialog . 7. Create the required mandatory condition for example, row level security in a folder in Discoverer Administrator for more information, see How to create row level security using a mandatory condition . You now have two summary folders, one based on the data folder without the mandatory condition and one based on the view. By adding the mandatory condition to the folder after the first summary folder was created, subsequent queries will be rewritten to use the view-based summary folder, rather than the folder-based summary folder. For more information about summary rewrite, see Chapter 16, Additional Information about Summary Folders .