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

Versions Compared

Key

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

...

Section
Column
width30%

The first thing you will need to define, when setting up a sub query, is the join type, and join fields.

9. Ensure the join type is Left Outer Join.

10. Select the Athlete Country field in the Master Query Fields drop down list. This is the field you wish to join the Sub Query to.

11. Drag the Athlete Country field in to the *Sub Query Fields box in order to join it to the Master Query.

Column
width70%

Filters

Section
Column
width30%

12. Add the Year field to the Sub Query Filters box. This filter will be used to restrict results of the sub query only.

Column
width70%

Name & Save

Section
Column
width30%

13. Change the name of the Sub Query to Previous Year. This will later help identify the sub query, especially useful if you have multiple sub queries.

14. Save the Sub Query.

Column
width70%

Add Column

Section
Column
width30%

15. Drag and drop the Image Added Invoiced Amount metric into the Columns list.

Column
width70%

Edit Settings

Section
Column
width30%

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

Column
width70%

Apply Filters

Section
Column
width30%

17. Once your sub query is ready, navigate back to the Master Query by clicking on it in the sub query panel on the left of the page.

Column
width70%

Section
Column
width30%

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

Column
width70%

Master Filter

Section
Column
width30%

19. Set the Master Query filter to be Year Equal to 2014 by clicking on the funnel icon.

Column
width70%

Section
Column
width30%

20. Select 2014 and click submit

Column
width70%

Sub Query Filter

Section
Column
width30%

21. Navigate to the sub query filters by clicking on the Previous Year tab.

Column
width70%

Section
Column
width30%

22. Click on the x on the filter panel to close it. Be sure not to click on the X to close the report builder.

Column
width70%

Formatting

Styleclass
ClasstopLink

top

Section
Column
width30%

23. Click on the first Sum Invoiced Amount field's drop down list and select Format.

Column
width70%

Section
Column
width30%

24. Change the Display name to Invoiced 2014. It's important to do this to provide the user with some context to help differentiate between the queries.

Column
width70%

Section
Column
width30%

25. While still in the Column Formatting menu, select the Sum Invoiced Amount field from the list on the left.

26. Set the name to Invoiced 2013 and close the menu.

Column
width70%

Save

Styleclass
ClasstopLink

top

Section
Column
width30%

27. Click Report > Save to activate your report.

Column
width70%

Section
Column
width30%

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

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

30. Select Tutorial as the Category.

31. Select Training as the Sub Category.

32. Click Activate to finish.

Column
width70%

Section
Column
width30%

33. You now have an active Append Sub Query report.

Column
width70%



horizontalrule

...