SlideShare a Scribd company logo
1 of 4
Download to read offline
Title A9_当月のデータのみを表示する。
キーワード フィルタ、クロス集計
当月のデータのみを表示する。
完成イメージ
使用データ・パッケージ
GO販売(分析)
作業ステップ
1. Cognos フィルター設定
1.1 クロス集計の作成
1.2 フィルターの作成
2. レポートの実行
詳細手順
1. Cognos フィルター設定
1.1 クロス集計の作成
Cognosでは、1年分のデータのうち3ヶ月分のみのデータなど、データの中からある特定のデータを抽出するためにフィルターを使用します。
今回は、当月のデータのみを表示する手順について示します。
その際、「当月」というデータが必要になりますが、今回は、CognosでCurrent_date関数を使用して当月を取得します。
他にも当月をデータベースに別途用意するなどの手法も考えられます。
まず、Report Authoringを開き、「クロス集計」を挿入します。
下記のように、データアイテムを挿入します。
販売(分析)>時間>時間>月
販売(分析)>製品>製品>製品ライン
販売(分析)>販売>数量
クエリー・エクスプローラーで、クエリー1を選択します。
下記のように、データアイテムを挿入します。
販売(分析)>時間>時間>日>日キー
1.2 フィルターの作成
クエリーを選択します。
クエリー1を選択し、フィルターの編集を選択します。
追加を選択します。
詳細を選択し、OKを選択します。
データ・アイテムを選択します。
日キーを挿入します。
関数から、current_dateを挿入し、下記のように記述し、OKを選択します。
OKを選択します。
2. レポートの実行
レポートを実行し、完成イメージのようになることを確認します。

More Related Content

Viewers also liked (9)

презентация огнезащита
презентация огнезащитапрезентация огнезащита
презентация огнезащита
 
LAS TICS DE LA MANO CON LA LECTOESCRITURA
LAS TICS DE LA MANO CON LA LECTOESCRITURALAS TICS DE LA MANO CON LA LECTOESCRITURA
LAS TICS DE LA MANO CON LA LECTOESCRITURA
 
Anem a l’hort!
Anem a l’hort!Anem a l’hort!
Anem a l’hort!
 
Solta de tortuga
Solta de tortugaSolta de tortuga
Solta de tortuga
 
Corriente sas 1 maria
Corriente sas 1 mariaCorriente sas 1 maria
Corriente sas 1 maria
 
Projecte d'assessoria tècnica
Projecte d'assessoria tècnicaProjecte d'assessoria tècnica
Projecte d'assessoria tècnica
 
Giuliano gabriela
Giuliano gabrielaGiuliano gabriela
Giuliano gabriela
 
Cognos reportauthoring a12_bookmark
Cognos reportauthoring a12_bookmarkCognos reportauthoring a12_bookmark
Cognos reportauthoring a12_bookmark
 
Bab 6
Bab 6Bab 6
Bab 6
 

More from Shinsuke Yamamoto

More from Shinsuke Yamamoto (20)

Cognos Analytics 12.0.2 logmaintenance.pdf
Cognos Analytics 12.0.2 logmaintenance.pdfCognos Analytics 12.0.2 logmaintenance.pdf
Cognos Analytics 12.0.2 logmaintenance.pdf
 
24 tm1 workflowapplication
24 tm1 workflowapplication24 tm1 workflowapplication
24 tm1 workflowapplication
 
23 tm1 performancemodeler
23 tm1 performancemodeler23 tm1 performancemodeler
23 tm1 performancemodeler
 
22 tm1 websheet
22 tm1 websheet22 tm1 websheet
22 tm1 websheet
 
21 tm1 webconfig
21 tm1 webconfig21 tm1 webconfig
21 tm1 webconfig
 
20 tm1 web
20 tm1 web20 tm1 web
20 tm1 web
 
19 tm1 activeform
19 tm1 activeform19 tm1 activeform
19 tm1 activeform
 
18 tm1 exceladdin
18 tm1 exceladdin18 tm1 exceladdin
18 tm1 exceladdin
 
17 tm1 sandbox
17 tm1 sandbox17 tm1 sandbox
17 tm1 sandbox
 
16 tm1 drillthrough
16 tm1 drillthrough16 tm1 drillthrough
16 tm1 drillthrough
 
15 tm1 rule
15 tm1 rule15 tm1 rule
15 tm1 rule
 
14 tm1 turbointegrator
14 tm1 turbointegrator14 tm1 turbointegrator
14 tm1 turbointegrator
 
13 tm1 object
13 tm1 object13 tm1 object
13 tm1 object
 
12 operations console
12 operations console12 operations console
12 operations console
 
11 tm1 performancemonitor
11 tm1 performancemonitor11 tm1 performancemonitor
11 tm1 performancemonitor
 
10 tm1 replication
10 tm1 replication10 tm1 replication
10 tm1 replication
 
09 tm1 migration
09 tm1 migration09 tm1 migration
09 tm1 migration
 
08 tm1 addserver
08 tm1 addserver08 tm1 addserver
08 tm1 addserver
 
07 tm1 audit
07 tm1 audit07 tm1 audit
07 tm1 audit
 
06 tm1 user
06 tm1 user06 tm1 user
06 tm1 user
 

Cognos reportauthoring a9_currentmonth