Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Introduction

Unknown macro: {styleclass}

[top]

Initialise

Unknown macro: {styleclass}

[top]

1. Click on the Create link and select Report to begin building your report.

2. You should now be on the Initialise Report page. Select the Drag and Drop Builder as the build tool.

3. Select Ski Team as the View.

Master Query

Unknown macro: {styleclass}

[top]

x. Drag and drop the Athlete ID, First Name, Last Name, and Date of Birth dimensions into the Columns list.

x. Drag and drop the Year dimension into the Filters list.

Minus Query

Unknown macro: {styleclass}

[top]

Create Minus

11. Click on the + button in the Sub Query panel to the left of the Data step to add a Sub Query.

12. Set the Type to Minus and Style to Basic.

13. Click Ok to set up the query.

Configure Minus

28. Set the Filter on the Master Query to apply to the Athlete ID field. This is how rows to be removed from the master query will be located, matching the ID field.

29. Set the Exclude field on the Sub Query to be the Athlete ID field. This will list all Athete ID values to be removed from the master query.

30. Drag the Year field into the Sub Query Filters list. This will be used to restrict the list of Athlete IDs to remove to a certain date range.

31. Change the name of the Sub Query to Prior Years and the description to Remove all customers from previous years to create a list of new customers for the current year.

x. Click Save to complete the Minus.

Edit Settings

32. If you need to make changes to your sub query setup at all, click the Edit Settings link.

Apply Filters

Unknown macro: {styleclass}

[top]

18. Click on the Settings link in the Filters panel. This will allow you to configure logic and values for both filters.

Master Filter

19. Set the Master Query filter to be Year Between

20. Click the Define Value link and select the Pre-defined Period option.

21. Select the This Calendar Year option and click the Submit button.

Sub Query Filter

21. Navigate to the sub query filter by clicking on the Prior Years tab.

x. Set the filter to be Year Less than or equal to

x. Click the Define Value link and select the Pre-defined Period option.

x. Select the Calendar Year Start option and click the Submit button.

x. Close the Configure Filters panel.

Unable to render embedded object: File (15appendValue.png) not found.

Save

Unknown macro: {styleclass}

[top]

x. Click Report > Save to activate your report.

Unable to render embedded object: File (xsave.png) not found.

x. Set the Name of your report to Minus Sub Query Tutorial.

x. Set the Description to This report was written using the Sub Query Tutorial.

x. Select Tutorial as the Category.

x. Select Training as the Sub Category.

x. Click Activate to finish.

Unable to render embedded object: File (x) not found.

x. You now have an active Minus Sub Query report.

Unable to render embedded object: File (x.png) not found.



Unknown macro: {horizontalrule}
Unknown macro: {styleclass}

[top]

  • No labels