Versions Compared

Key

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

h2. Creating the Union 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.* Drag and drop the !rpt_dim.png! *Athlete Country* dimension and」および「 !rpt_metric.png! *Invoiced Amount* metric into the *Column Fields* area. 	 」を「*カラム(列)フィールド*」エリアにドラッグ&ドロップします。
{column}
{column: width=70%}
!06master.png|thumbnail,border=1!
{column}
{section}

{section}
{column: width=30%}
*6.* 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%}
!03enable.png!
{column}
{section}
{section}
{column: width=30%}
*7.* Click on the *Sub Query* link. This will open the *Sub Query Type* menu.「*サブクエリー*」リンクをクリックします。「*サブクエリーの種類*」メニューが開きます。

*8.* Set the Type to *Union*.「タイプ」を「*結合*」に設定します。

*9.* Click *Submit送信・実行*.」をクリックします。
{column}
{column: width=70%}
!04select.png|thumbnail,border=1!
{column}
{section}
{section}
{column: width=30%}
*10.* 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%}
!05tabs.png!
{column}
{section}

h3. Creating a Field Label
フィールドラベルの作成
{section}
{column: width=30%}
*11.* Click on the *Add Calculated Fields* Link at the bottom of the page to begin creating a calculated field.	 
ページ下部の「*計算フィールドを追加*」リンクをクリックして、計算フィールドの作成を開始します。
{column}
{column: width=70%}
!07calcfield.png!
{column}
{section}
{section}
{column: width=30%}
*12.* Type 図に示すように、テキストボックスに{*}Invoiced Amount* in the textbox as shown.

{*}と入力します。

*13.* Click on the !calc_adobj.gif! button」ボタンをクリックして、テキストを計算式に追加します。
to
add the text to your formula.

*14.* *'Invoiced Amount'*が大きいテキストエリアに表示されます。これは、計算フィールドの値が定数であり、レポートのラベルとして使用されることを意味します。
should
now appear in the large text area. This will mean that the calculated field's value will be constant, used as a label in the report.

*15.* Set the *Calculated Field Name* to *Label*.「*計算フィールド名*」を{*}Label{*}に設定します。

*16.* Click the {color:#357CB6#357cb6}Save保存{color}」リンクをクリックして終了します。
link to finish.
{column}
{column: width=70%}
!08label.png|thumbnail,border=1!
{column}
{section}
{section}
{column: width=30%}
*17.* Drag and drop the !rpt_dim.png! *Label* Calculated Field into the *Column Fields* area.

」計算フィールドを「カラム(列)フィールド」エリアにドラッグ&ドロップします。

*18.* Click on the *Union* tab.	 
「*結合*」タブをクリックします。
{column}
{column: width=70%}
!09master.png|thumbnail,border=1!
{column}
{section}
{section}
{column: width=30%}
*19.* Drag and drop the !rpt_dim.png! *Athlete Country* dimension」および「 and !rpt_metric.png! *Profit Margin* metric into the *Child Fields* area as shown. It is important to make sure the order matches up to the *Master Fields* so that the union works.	 
」を「*子フィールド*」エリアにドラッグ&ドロップします。結合が機能するために、順序が「*マスターフィールド*」と一致することが重要です。
{column}
{column: width=70%}
!11subquery.png|thumbnail,border=1!
{column}
{section}
{section}
{column: width=30%}
*20.* Click on the *Add Calculated Field* link as before. This time type  前と同様に、「*計算フィールドを追加*」リンクをクリックします。今回は、*Profit Margin* and click{*}と入力し、「 !calc_adobj.gif! to add the text.」をクリックしてテキストを追加します。

*21.* Set the *Calculated Field Name* to *Label*..「*計算フィールド名*」を{*}Label{*}に設定します。

*22.* Click the {color:#357CB6#357cb6}Save保存{color} link to finish.	
」リンクをクリックして終了します。
{column}
{column: width=70%}
!10label.png|thumbnail,border=1!
{column}
{section}
{section}
{column: width=30%}
*23.* Drag and drop the !rpt_dim.png! *Label* Calculated Field into the *Child Fields* area as shown.

」計算フィールドを「*子フィールド*」エリアにドラッグ&ドロップします。

*24.* 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%}
!12subqueryLabel.png!
{column}
{section}


h2. Customisationカスタマイズ
{styleclass: Class=topLink}[topページトップ|#top]
{styleclass}
{section}
{column: width=30%}
*1.* You shouldこれで図に示すようなレポートが作成されました。
now
have a report that looks like the one pictured here. 

*2.* To start, click on the まず、「*Label* column header and drag it so that it is moved between the 」カラムヘッダーをクリックしてドラッグし、「*Athlete County* and 」カラムと「*Sum Invoiced Amount*」カラムの間に移動します。
columns.	 
{column}
{column: width=70%}
!13reorder.png!
{column}
{section}
{section}
{column: width=30%}
*3.* Your report should now appear as pictured. Reordering the columns should make the information easier to read. Formatting will also help.	 
レポートは図に示すようになります。カラムの順序を変更すると、情報を読み取りやすくなります。書式設定も便利です。
{column}
{column: width=70%}
!14report.png!
{column}
{section}
{section}
{column: width=30%}
*4.* Click on the *Columns* link at the top of the page.	ページ上部の「*カラム(列)*」リンクをクリックします。
{column}
{column: width=70%}
!15columns.png!
{column}
{section}
{section}
{column: width=30%}
*5.* Select the ドロップダウンから「*Sum Invoiced Amount* Column from the dropdown.
」カラムを選択します。
{column}
{column: width=70%}
!15column.png!
{column}
{section}
{section}
{column: width=30%}
*6.* Click on the *Display* Menu.

「*表示*」メニューをクリックします。

*7.* Change the *Display Name* to *Amount*.「*表示名*」を{*}Amount{*}に変更します。

*8.* Click on Close.	
「閉じる」をクリックします。
{column}
{column: width=70%}
!16display.png|thumbnail,border=1!
{column}
{section}
{section}
{column: width=30%}
*9.* You should now have a report that looks like the one pictured here. 
これで図に示すようなレポートが作成されました。
{column}
{column: width=70%}
!17report.png!
{column}
{section}
{section}
{column: width=30%}
*10.* You are now finished with this report. Click on the *Save Menu*.このレポートの操作を終了します。「*保存*」メニューをクリックします。

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

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

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

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

*15.* Click *Activate有効化*」をクリックして終了します。
to finish.	
{column}
{column: width=70%}
!18save.png|thumbnail,border=1!
{column}
{section}
bq. See 詳細については、[Formatting書式|Formatting] forを参照してください。
more information.
\\
\\
{horizontalrule}
{styleclass: Class=topLink}[topページトップ|#top]
{styleclass}