30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Styleclass
ClasstopLink

top

Anchor
top
top

Initialise

Styleclass
ClasstopLink

top

Section
Column
width30%

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

Column
width70%

...

Section
Column
width30%

3. Select Ski Team as the View.

Column
width70%

Master Query

Styleclass
ClasstopLink

top

Section
Column
width30%

64. Drag and drop the Athelte Country dimension and Invoiced Amount metric into the Columns list.

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

Column
width70%

Append Query

Styleclass
ClasstopLink

top

Create Append

Section
Column
width30%

86. Click on the + button in the Sub Query link. This will open the Sub Query Type menu.panel to the left of the Data step to add a Sub Query.

79. Set the Type to Append, leaving the and Style set to Basic for now.

108. Click Submit Ok to set up the query.

Image Removed
Column
width70%

Image Added

Join Append

Section
Column
width30%

11. Now drag in the same fields as the master query. The difference between the two queries will be set up using filter values.

Column
width70%

Image AddedImage Removed

Filters

...

ClasstopLink
Sectionstyleclass
Column
width
30%
top

Column

...

width

...

70%

...

Image Added

Name & Save

Section
Column
width30%

1. Click on the Refresh link in the Joins area (on the sub query tab) to load the child fields you just added.

Column
width70%

Image AddedImage Removed

Add Column

Section
2. Set both the Master and Child fields to Athlete Country, select a join operator, and click the Add Join button to save.
Column
width30%

Column
width70%

Image Modified

Edit Settings

Section
Column
width30%

3. You should now have a join that looks like the one pictured.

4. Click on the Image Removed at the top of the page to progress to the next step (filters).

Column
width70%

Image Removed

Filtering each query

Image Added

Apply Filters

Section
Column
width30%

Column
width70%

Image Added

Styleclass
ClasstopLink
top

Section
Column
width30%

Column
width70%

Image Added

Master Filter

Section
1. To set the Master Query Filter click on the Image Removed Filter Prompt image. This will load a list of filter values.
Column
width30%

Column
width70%

Image RemovedImage Added

Section
Column
width30%

2. In the Filter Values window select 2010 and click on the Submit link to load the filter.

Column
width70%

Image AddedImage Removed

Sub Query Filter

Section
Column
width30%

3. You should now have the Master Query Filter set, as shown here.

Column
width70%

Image RemovedImage Added

Section
Column
width30%

4. To set the Sub Query Filter, follow the same steps as above, this time selecting 2009 as the value.

5. You can now click on the Image Removed at the top of the page to view your report.

Column
width70%

Image Removed

See Filters for more information.

Customisation

Image Added

Formatting

Styleclass
ClasstopLink

top

Section
Column
width30%

1. You should now have a report that looks like the one pictured here. To make it easier to read you are going add some formatting to it.

Column
width70%

Image RemovedImage Added

Section
2. Click on the Columns link at the top of the page.
Column
width30%

Column
width70%

Image RemovedImage Added

Section
Column
width30%

3. Select the Sum Invoiced Amount Column from the dropdown.

Image Removed
Column
width70%

Image Added

Save

Styleclass
ClasstopLink

top

Section
4. Click on the Display Menu.

5. Change the Display Name to Invoiced 2010.

6. Click on Close.

7. Repeat these steps for the Sub Query: Sum Invoiced Amount column, this time setting the Display Name to Invoiced 2009.

Column
width30%

Column
width70%

Image RemovedImage Added

Section
Column
width30%

8. You should now have a report that looks like the one pictured here. The columns are clearly labelled to make it easier to read the data.

Column
width70%

Image RemovedImage Added

Section

9. You are now finished with this report. Click on the Report Menu and select Save.

10. Set the Name of your report to Append Sub Query Tutorial.

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

12. Select Tutorial as the Category.

13. Select Advanced Reporting as the Sub Category.

14. Click Save to finish.

Column
width30%

Column
width70%

Image Removed

...

Image Added



horizontalrule
Styleclass
ClasstopLink

top