We will create a new Data Worksheet which contains a table using the 'NJ Orders' query. If we want to filter the data in that table so that only the orders with a discount value greater than 0.2 are included, instead of specifying that condition for the table, we can use the 'Large Discount' Named Condition and associate it with the table.
1. Create a new Worksheet.
2. Expand the 'Query' node, the 'Orders' node, and the 'DWS' node.
3. Drag the 'NY Orders' query onto an empty cell on the Worksheet. This creates a new table, 'NY Orders1'.
4. Expand the 'Global Worksheet' node.
The condition name is shown in italics to indi¬cate that the condition asset is referenced from another Worksheet.
5. Select the 'Large Discount' Named Condition and drag it onto an empty cell in the Worksheet. This adds a named condition called 'Large Discount1' to the Worksheet.
Note: Drag the title bar to move the object. (Do not drag the filter icon in the title bar.)
6. Drag the Named Condition object to be right next to the 'NY Orders1' table until the mouse changes into the condition icon.
7. Release the mouse. The condition is added to the table.
8. Select the 'NY Orders1' table. Notice that a link is created between the 'NY Orders1' table and the 'Large Discount1' Named Condition.
9. Preview the table. Notice that only the orders with a discount value greater than 0.2 are included in the table.