1. シニア テクニカル アーキテクト
清水 優吾(しみず ゆうご) / 株式会社セカンドファクトリー
@yugoes1021
yugoes1021 Microsoft MVP
for Data Platform - Power BI
(2017.02 -)
もうすぐ来る新しい DirectQuery の自動更新を
いま可能なモノで模倣してみた!
~ 誕生日のパラドックスを使って体験するのだ ~
2019-09-21
Power BI 勉強会 #14
https://www.slideshare.net/yugoes1021
2. 自己紹介:
清水 優吾 (Yugo Shimizu) ♂
株式会社セカンドファクトリー
シニア テクニカル アーキテクト
UX を看板に掲げて、飲食業を営んでいる IT 企業に勤めている会社員で
Data Platform をメインに活動をしている Technical Architect
専門・興味:
Data Platform (Azure),
Power Platform (PowerApps, Flow, Power BI), Office 365 周辺サービス
Twitter: @yugoes1021 Facebook: yugoes1021
Qiita: https://qiita.com/yugoes1021
Power BI 勉強会: https://powerbi.connpass.com
Japan Power BI User Group: https://www.facebook.com/groups/JapanPBUG/
Japan Power Platform User Group: https://power.users.community/
Microsoft MVP
for Data Platform -
Power BI
(2017.02 - )
MVP
プロフィールページ
4. 今日のゴール - Today’s Goal
Power BI Report のデータ接続モードを
理解して、シナリオに合ったレポートを
作れるようになろう!
Let’s understand Data Connection modes
of Power BI Report and get to be able to
make reports according to scenarios!
6. データ接続モード
Power BI ではレポートのデータ接続モードが4つある
Power BI Desktop の DirectQuery
https://docs.microsoft.com/ja-jp/power-bi/desktop-use-directquery
Power BI におけるデータ アクセス方法 まとめ (DirectQuery と ライブ接続の違い)
https://blogs.msdn.microsoft.com/dataplatjp/2017/04/05/power-bi-data-access/
インポート
DirectQuery
ライブ接続
REST API
10. 4. REST API
Power BI Service にストリーミングデータセットを作成し、同時に作成さ
れる
REST API へ JSON データを POST することでデータの追加が可能
~作成時~
POST
API
11. データ接続モードの種類
Power BI Service
• インポート
データをインポートしてキャッシュさせる方法。
定期的に最新データを取得可能。8回/日まで。
• DirectQuery(or ライブ接続)
レポートにアクセスされた時に、データソースからデータを取得
する方法。
一般的な Web ページ、Web アプリケーションと同様。
データソースが SQL Server Analysis Services または Azure
Analysis Services の場合、ライブ接続と呼ばれる。
• Web API
Power BI のデータセットへアプリケーションからデータを送信
する方法。この場合、Power BI は “待ち“ の状態。センサーデー
タ等、リアルタイムにデータを見たいときはこれ。
24. 誕生日のパラドックスとは? - What is Birthday Paradox?
n 人いるときにその中に同じ誕生日である二人組が存在する確率
n = 5 人いると 0.027 (2.7%)
n = 10 人いると 0.117 (11.7%)
n = 15 人いると 0.253 (25.3%)
n = 20 人いると 0.411 (41.1%)
n = 22 人いると 0.476 (47.6%)
n = 23 人いると 0.507 (50.7%)
n = 30 人いると 0.706 (70.6%)
n = 40 人いると 0.891 (89.1%)
n = 50 人いると 0.970 (97.0%)
n = 70 人いると 0.999 (99.9%)
25. Please tell me your birthday from Forms
これから Microsoft Forms で回答しても
らいますが、私がいいというまで
送信しないでください!
Don’t submit
when I say “OK, Submit”!
またニックネームはなるべく他の人と
被らないようなものを考えて、
手元に控えておいてください
Please input a unique nickname!
Ex) Mail address
26. Please tell me your birthday from Forms
http://bit.ly/pbijp0921-yugo
Power BI Desktop へデータをインポートして、表示をする。レポートを Power BI Service へ発行後は 8 回/日までデータをインポートするスケジューリングが可能
通常の Web アプリと同様、レポート画面へのリクエスト後にその時点のデータを取得して表示する。
通常の Web アプリと同様、レポート画面へのリクエスト後にその時点のデータを取得して表示する。接続先が Analysis Services になると「ライブ接続」と呼ばれる
経過時間目安 10:00
残り時間目安 40:00
https://powerbi.microsoft.com/en-us/blog/mbas-2019-on-demand-featured-sessions-power-bi-roadmap-and-vision/
Microsoft Power BI: The future of modern BI - roadmap and vision - BRK1001
https://youtu.be/8WhXCwHynEE?t=2879