Skip to main content
株式会社セールスフォース・ドットコム
初めてのWave Analytics
データセット作成
Salesforce Developer Web セミナー
2017/06/21
Forward-Looking Statements
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not
be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
本日のセミナー内容
内容
• データセットの概要
• データセットを取り巻く周辺機能
• 知っておくべき主な制約事項
• その他情報リソースなどの紹介
対象者
• Waveを触り初めて間もない管理者・開発者
• Waveのデータセットの概要をおさらいしたい方
• Summer’17におけるデータセット周りのアップデート概要を知りたい方
ゴール
• 手元のデータをWave Analyticsへ取り込める(SFDCデータ/外部データ)
• 取り込んだデータセットを別のデータセットと組み合わせて一つに出来る
本日のアジェンダ
1. はじめに&スピーカー自己紹介
2. 全体像とデータセットの概要
3. データセットの作成(外部データ&SFDCデータ)
4. データフローの主な制限
5. データマネージャ機能の紹介
6. 【新機能】データフローエディタ・外部データコネクタ
7. 困ったときは&まとめ
8. Q&A
15:02-15:07
15:07-15:10
15:10-15:22
15:22-15:25
15:25-15:37
15:37-15:45
15:45-15:55
15:55-
※時間は目安です
 最後にQ&Aの時間を設けます。
 ご質問はいつでも送って下さってOKです。
Wave Analytics ブランディング変更
先日6/15(US日付)、製品ブランド名の変更が行われました。
Wave Analytics Einstein Analytics
Einstein Analytics Products
Sales Analytics
Service Analytics
B2B Marketing Analytics
Einstein Analytics Platform
Einstein Discovery
しかしながら、本日のWebセミ
ナーでは”Wave”名称で進めます
はじめに デベロッパー向け環境のご紹介(1/2)
以下のURLへアクセス
https://developer.salesforce.com/trailhead/ja
製品 “Einstein Analytics” を選択し”Wave Analytics
の基礎”中での案内に従いサインアップすることで学習
用Wave Analytics環境を入手することが出来ます。
学習用サイト”Trailhead” で発行される環境でWave Analyticsの
デベロッパー向け環境が利用できます。 (無償)。
Developer Edition組織のサインアップURL
https://developer.salesforce.com/promotions/orgs/wave-de
はじめに デベロッパー向け環境のご紹介(2/2)
直接以下のURLより登録することも可能
伊勢 健吾 (Kengo Ise)
セールスエンジニアリング本部
シニアマネージャー 兼 Einstein Analytics (旧Wave Analytics) スペシャリスト
 高校時代にスコアラー&マネジャーとしてデータ分析を担当し春の選抜甲子園準優勝
 SI、コンサルティング、BIベンダー企業等でDWH/BI/Analytics系のプロジェクトに15年以上携わる
 Analytics Cloud/Wave Analyticsの日本 ローンチに伴いセールスフォースへ
スピーカー紹介
全体像とデータセットの
概要
Wave Analyticsの全体像
Wave Analytics Platform
オペレーショナルレ
ポート
ETL/EAI/CSV/API
セールス サービス マーケティング
コミュニティAppsLightning
外部データ
- 検索ベースのクエリエンジンを搭載 - ダッシュボードへの組み込み、アクション機能
- 強力なビジュアライゼーション機能 - モバイルファーストの設計
Wave Analyticsの構成要素
②データセット ③レンズ ④ダッシュボード
①データフローによる取込
⑤アプリケーション
データセットとは??
• データセットとは、非正規化され高度に圧縮された形式で保存された関連デー
タのコレクション。
• 組織は登録済みの全データセットで合わせて1億件を保存できる(デフォルト)。
• レコード件数は1億件単位で追加することが可能(有償オプション)
Dimensions Files
(.dat)
Index files (.idx) json files (.json)
非正規化&高度圧縮 転置インデックス
(いわゆるRDBテーブル形式ではないデータ)
Measures Files
(.mea)
データセットの取込方法:SFDCデータと外部データ
データソースがSFDCデータなのか外部データなのかによって取込方式が異なる
データ
フロー
External
API
外部データ
(Salesforce
外データ)
Salesforce
データ
CSVファイルから
データセットを作成
Spring ‘17時点
必要なユーザ権限
外部データをアップロードする 「外部データを Wave Analytics にアップロード」
付与した権限セットのシステム権限として上記にチェックが必要。
必要なシステム権限
データセットの作成
作成→データセット
“CSV”ファイル
を選択
DEMO
セールスフォースオブジェクトから
データセットを作成
Spring ‘17時点
付与した権限セットのシステム権限として上記にチェックが必要。
必要なシステム権限
必要なユーザ権限
データセットビルダーにアクセスする 「Wave Analytics データフローを編集」
データセットの作成
作成→データセット
“Salesforce”
を選択
データセットビルダーが立ち上がるので、取得対象オブジェクトや項目を選択
データセットビルダーにて取得オブジェクトを選択
リレーションが張ってあるオブジェ
クトは関連付けて一つのデータセッ
トに含めて取得することが可能
選択したら
“データセットを作成”
データフローのスケジューリング
データフロースケジュールの設定画面
曜日も指定可能
通知設定が可能
15分ごとに時間指定可能
時間、週、月
ごとに設定可能
DEMO
データセットの削除
①削除したいデータセットを編集
②削除
データフローの主な制限
データフローの主な制限
データフロー、レシピ、複製の24時間あたりの制限
Spring ‘17
24
< 1 min
Summer ‘17
30
カウントされない
< 2 min
• データフロー
• レシピ
の実行可能回数
(24Hあたり)
複製
カウントされな
いデータフロー
データフロースケジュールの設定画面
Wave Analytics の制限事項
https://help.salesforce.com/articleView?id=bi_limits.htm&type=0&language=ja&release=208.9
データマネージャ機能の紹介
データマネージャ
右上のギアマークから、”データマネージャ”を選択する
“データマネージャ”の画面
データマネージャでできること
4つの機能群から構成される
Data
Set
sfdcDigest
オブジェクト1
sfdcDigest
オブジェクト2
augment
sfdcRegister
レシピ
による
加工
データフローで作成される
データセット
レシピで作成する
データセット
Data
Set
Data
Setその他既存のデータセット
データフローとレシピの関係
レシピできることの例
• データ結合
• データのバケット項目作成
• 数式項目を追加
• 一括データ置換
• 不要な項目値の削除、行の絞り込み
データフローの範囲
DEMO
データフローエディタ
&
外部データコネクターの紹介
データフローの編集(1/3)
Spring ‘17時点
データフローのイメージ データフローJSON例
データフローエディタでポイント&クリックによるデータフロー作成&編集が可能
データフローの編集(2/3)
①データフローから
“編集”を選択
データフローエディタを使って、マウスのク
リックやドラッグドロップのみでSalesforce 上
のオブジェクトや既存データセットを関連オブ
ジェクトと結合し、必要な項目を取得、登録す
るフローを作成することが可能
③オブジェクトを選
択
②エディタ上でデータフ
ローを視覚的に確認しなが
ら編集可能
③各種データ変換機能を
選択してノードを追加
データフローエディタでクリックによるデータフロー作成&編集が可能
データフローの編集(3/3)
Wave データフローの変換
https://help.salesforce.com/articleView?id=bi_integrate_tranformation_overview.htm
Dim2mea 変換
sfdcDigest変換
Digest変換
Edgemart 変換
Append 変換
augment 変換
computeExp
ression変換
computeRel
ative変換 flatten 変換
Filter 変換
update変換
SfdcRegister変換
外部データコネクター
Summer’17より外部データコネクターが用意(要複製の有効化)
 参照ヘルプドキュメント
https://help.salesforce.com/articleView?id=bi_integrate_co
nnectors.htm&type=0&language=ja&release=208.9
1. Heroku Postgres コネクタ
2. Redshift コネクタ
3. Salesforce Multi-Orgコネクタ
4. Salesforce Marketing Cloudコネクタ
困ったときは
&
まとめ
【参考】分析ライブラリ
情報リソースへの入り口。深く知りたいとき・迷ったときは”?”マークから
“分析ライブラリ”が便利
今日のまとめ
全ての起点となるデータセット
データセット作成方式
• (SFDCデータ)データセットビルダー/データフローエディタ
• (外部データ)ドラッグ&ドロップ 、外部データAPI、ETL
データマネージャーとは
• データセット周りの機能を司る機能群
• 実行しているジョブのステータス監視ができる
• レシピ、複製、外部データコネクターもここから設定
主な制限
• データフロー実行数:30(本番組織) 27(Sandbox組織) ※いずれも24Hあたり
• ただし2分以内のデータフロー、レシピは上記にカウントされない
• 複製:50オブジェクトまで
• 外部データは50ファイル/24Hあたりアップロード可能。ただし合計50GBまで。
• 1回あたりのアップロードファイルサイズは512MB(外部データAPIの場合40GBまで)
その他 • 迷ったら”?”マークの分析ライブラリを参照
次のステップへ...Trailhead
https://trailhead.salesforce.com/ja
Thank Y u