Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{anchor:top}

h2. Creating the Minus Sub Query
マイナスサブクエリーの作成
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
{section}
{column: width=30%}
*1.* Click on the *Create* link and select *Report* to begin building your report.
 「*作成*」リンクをクリックして、「*レポート*」を選択しレポートの作成を開始します。
{column}
{column: width=70%}
!01.png! 
{column}
{section}

{section}
{column: width=30%}
*2.* You should now be on the Initialise Report page. Select the *Drag and Drop Builder* as the build tool. 「レポートの初期化」ページが表示されます。作成ツールとして「*ドラッグ&ドロップで作成*」を選択します。
{column}
{column: width=70%}
!02.png! 
{column}
{section}

{section}
{column: width=30%}
*3.* Select  ビューとして「*Ski Team*」を選択します。
as the
View.

*4.* Now click the 「  !step_right_on.png! button to proceed.
 」ボタンをクリックして次に進みます。
{column}
{column: width=70%}
!2a.png|thumbnail,border=1!

{column}
{section}

{section}
{column:width=30%}

*5.* Tick the checkbox next to *Sub Queries* to enable them. There should now be a *Sub Query* link at the top of the page.	 
 「*サブクエリー*」の横のチェックボックスをオンにして有効にします。ページ上部に「*サブクエリー*」リンクが表示されます。 
{column}
{column:width=70%}
!03option.png!
{column}
{section}
{section}
{column:width=30%}
*6.* Click on the *Sub Query* link. This will open the *Sub Query Type* menu.
 「*サブクエリー*」リンクをクリックします。「*サブクエリーの種類*」メニューが開きます。

*7.* Set the Type to *Minus*. 「タイプ」を「*マイナス*」に設定します。

*8.* Click *Submit*. 「*送信・実行*」をクリックします。

*9.* You should now have a *Master Query* Tab and a *Sub Query* Tab. Click on the *Master Query* tab to setup the query.
 「*マスタークエリー*」タブと「*サブクエリー*」タブが表示されます。「*マスタークエリー*」タブをクリックして、クエリーを設定します。
{column}
{column:width=70%}
!04minus.png|thumbnail,border=1!
{column}
{section}
{section}
{column:width=30%}	 
*10.* Drag and drop the  「  !rpt_dim.png! *Athlete ID*,」、「  !rpt_dim.png! *First Name*, and」、および「  !rpt_dim.png!  *Last Name* dimensions into the *Column Fields* area. 」ディメンションを「*カラム(列)フィールド*」エリアにドラッグ&ドロップします。 

*11.* Drag and drop the 「  !rpt_dim.png!  *Year* dimension into the *Filters* area.」ディメンションを「*フィルター*」エリアにドラッグ&ドロップします。

*12.* Now click on the *Sub Query* tab to setup the sub query fields.
 「*サブクエリー*」タブをクリックして、サブクエリーフィールドを設定します。
{column}
{column:width=70%}
!05master.png|thumbnail,border=1!
{column}
{section}
{section}
{column:width=30%}	 
*13.* Select the  「*マスタークエリーフィルター*」で「*Athlete ID* field」フィールドを選択し、サブクエリーによってフィルタリングされるマスタークエリーのフィールドとして指定します。
in
the *Master Query Filter* to nominate it as the field to be filtered in the Master Query by the Sub Query.

*14.* Select the *14.* 「*リンクフィールド*」エリアで「*Athlete ID* field in the *Link Field* area to nominate it as the field that provides the filter values for the *Master Query Filter*.

*15.* Drag and drop the」フィールドを選択し、「*マスタークエリーフィルター*」のフィルター値を提供するフィールドとして指定します。

*15.* 「  !rpt_dim.png!  *Year* dimension」ディメンションを「フィルター」エリアにドラッグ&ドロップします。
into
the Filters area.

*16.* You can now click on the  ページ上部の「  !step_right_on.png! at the top of the page to progress to the next step.
 」をクリックして、次のステップに進みます。
{column}
{column:width=70%}
!06subquery.png|thumbnail,border=1!
{column}
{section}
	


h2. Filtering your Results結果のフィルタリング
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}
{section}
{column:width=30%}
*1.* Now to setup the filters. Click on the  フィルターを設定します。前と同様に、「  !rpt_filterprompt.gif! *Filter Prompt* as before as set the *Master Filter* to *2010*.  」*フィルタープロンプト{*}をクリックして、*マスターフィルター{*}を{*}2010{*}に設定します。

*2.* Leave this set to *Equal to* and click on the *Sub Query* tab to set up the other filter.
 ここでは「*等しい(=)*」に設定されたままにしておき、「*サブクエリー*」タブをクリックして他のフィルターを設定します。
{column}
{column:width=70%}
!07filterMaster.png!
{column}
{section}
{section}
{column:width=30%}	 
*3.* Set the value to *2010* using the same steps as above, but this time select *Different From* from the drop down list. This will ensure that any records that are not in 2010 are removed from the results.	
 前述と同じステップを使用して値を{*}2010{*}に設定しますが、今回はドロップダウンメニューから「*と異なる(≠)*」を選択します。これで2010年ではないレコードが結果から取り除かれるようになります。
{column}
{column:width=70%}
!08filterMinus.png!
{column}
{section}
{section}
{column:width=30%}	 
*4.* Your finished report should look like the one pictured here.
 完成したレポートは、この図に示すようになるはずです。
{column}
{column:width=70%}
!09minusReport.png|thumbnail,border=1!
{column}
{section}
{section}
{column:width=30%}

*5.* You are now finished with this report. Click on the *Save Menu*. このレポートの操作を終了します。「*保存*」メニューをクリックします。

*6.* Set the *Name* of your report to * レポートの{*}名前{*}を{*}Minus Sub Query Tutorial{*.}に設定します。

*7.* Set the *Description* to * *説明{*}を{*}This report was written using the Sub Query Tutorial{*.}に設定します。

*8.* Select *Tutorial* as the *Category*. *カテゴリー{*}として「*チュートリアル*」を選択します。

*9.* Select *Advanced Reporting* as the *Sub Category*. *サブカテゴリー{*}として「*高度なレポート*」を選択します。

*10.* Click *Save* to finish. 「*保存*」をクリックして終了します。
{column}
{column:width=70%}
!10activate.png|thumbnail,border=1!
{column}
{section}


bq. See 詳細については、[Filtersフィルター|フィルター] for more information.を参照してください。
\\
\\
{horizontalrule}
{styleclass: Class=topLink}[topページトップ|#top]{styleclass}