You can customize the DW queries on individual entities in the DW Query tab in the Entity Properties dialog. DW queries are used to populate a table from its direct source tables, for example populating a dimension from its stage table(s).
 
If a DW query was previously entered or generated it is shown in the query editor pane.
To generate a new DW query for the entity:

  1. Select a Source set.
  2. Optionally select a template to use from the drop-down list and then click Generate. If there is an existing DW query that is different from what is generated a differences window appears, enabling you to select the changes to be made. To accept the changes click OK.