Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
DAXクエリをDAX Studioでつくって、Power Automateで発射する💪
Search
Akihiro Suto
October 12, 2022
Technology
3.2k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DAXクエリをDAX Studioでつくって、Power Automateで発射する💪
https://rpacommunity.connpass.com/event/261717/
こちらのイベントで発表した内容です。
Akihiro Suto
October 12, 2022
More Decks by Akihiro Suto
See All by Akihiro Suto
JPPC2023_BI08_セマンティックモデルを覗き見る(公開用)
hanaseleb
0
5.4k
プッシュデータセットを試してみよう
hanaseleb
0
790
レポートをつくる、その先の運用を考える🤔 Power BI Report Ops
hanaseleb
0
5.6k
Power BI データフローを考える
hanaseleb
1
1.9k
BIのPowerをAutomateする
hanaseleb
0
570
Power BI のうらがわ
hanaseleb
2
1.3k
ゼロからはじめたPower BI
hanaseleb
1
1.6k
Power Automateドリブンのチームマネジメント
hanaseleb
0
880
Power BI Report Ops
hanaseleb
0
810
Other Decks in Technology
See All in Technology
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
The Knowledge Spine: A Machine-Executable Ontology for Governed Marketing Activation
vananth22
0
110
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
520
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
310
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
0
250
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.3k
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
データ_AIの事業の勝敗をわけるもの
nek0128
1
460
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
970
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
250
Reactの設計論
uhyo
24
14k
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
360
A Modern Web Designer's Workflow
chriscoyier
699
190k
Why Our Code Smells
bkeepers
PRO
340
58k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Being A Developer After 40
akosma
91
590k
Chasing Engaging Ingredients in Design
codingconduct
0
320
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
810
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
990
Transcript
Power BIと Power Automateを 組み合わせたらPower💪だった件
Power BIとPower Automateを 組み合わせたらPowerだった件 © Akihiro Sutoh 2 ⚫ Power
BIのデータセットに ⚫ Power Automateから問い合わせ ⚫ データを自由自在に加工して ⚫ どこでも表示💪
今日の登場人物 © Akihiro Sutoh 3
今日の登場人物 © Akihiro Sutoh 4 D A X ク エ
リ Power BI データセットに 問い合わせるときの言語 D A X S t u d i o DAXクエリ開発の 必須ツール P o w e r A u t o m a t e DAXクエリを Power BI データセットに投げる係
What’s DAXクエリ © Akihiro Sutoh 5
What’s DAXクエリ © Akihiro Sutoh 6 D A X ≠
D A X ク エ リ 仲間だけど少し違う。 ビジュアル全体を問い合わせる ために使われている。 P o w e r B I D e s k t o p で 確 認 パフォーマンスアナライザーで DAXクエリがみられる DAX クエリ - DAX | Microsoft Learn
What’s DAXクエリ © Akihiro Sutoh 7 D A X ≠
D A X ク エ リ 仲間だけど少し違う P o w e r B I D e s k t o p で 確 認 パフォーマンスアナライザーで DAXクエリがみられる DAX クエリ - DAX | Microsoft Learn
What’s DAXクエリ © Akihiro Sutoh 8 DAX クエリ - DAX
| Microsoft Learn
What’s DAXクエリ © Akihiro Sutoh 9 // DAX Query DEFINE
MEASURE 'cso FactOnlineSales'[Sales_Amount] = (/* USER DAX BEGIN */ SUMX('cso FactOnlineSales','cso FactOnlineSales'[SalesAmount]) /* USER DAX END */) VAR __DS0Core = SUMMARIZECOLUMNS( ROLLUPADDISSUBTOTAL('cso DimProduct'[BrandName], "IsGrandTotalRowTotal"), "Sales_Amount", 'cso FactOnlineSales'[Sales_Amount] ) VAR __DS0PrimaryWindowed = TOPN(502, __DS0Core, [IsGrandTotalRowTotal], 0, 'cso DimProduct'[BrandName], 1) EVALUATE __DS0PrimaryWindowed ORDER BY [IsGrandTotalRowTotal] DESC, 'cso DimProduct'[BrandName] DAX クエリ - DAX | Microsoft Learn
DAXクエリの構文 © Akihiro Sutoh 10 ローカルのデータセットに接続 Power BI Service上のワークスペースに接続 ⚫
必須キーワード ⚫ EVALUATE ⚫ 省略可能なキーワード ⚫ ORDER BY ⚫ START AT ⚫ DEFINE MEASURE VAR TABLE COLUMN [DEFINE ( (MEASURE <table name>[<measure name>] = <scalar expression>) | (VAR <var name> = <table or scalar expression>) | (TABLE <table name> = <table expression>) | (COLUMN <table name>[<column name>] = <scalar expression>) | ) + ] EVALUATE <table> [ORDER BY {<expression> [{ASC | DESC}]}[, …]] [START AT {<value>|<parameter>} [, …]]] DAX クエリ - DAX | Microsoft Learn
DAX Studio © Akihiro Sutoh 11 DAX Studio | DAX
Studio
DAX Studio © Akihiro Sutoh 12 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続
DAX Studio © Akihiro Sutoh 13 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続 列にしたい項目を入れる フィルター 並び順 クエリビルダー
DAX Studio © Akihiro Sutoh 14 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続
DAX Studio © Akihiro Sutoh 15 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続
DAXクエリの構文 © Akihiro Sutoh 16 ローカルのデータセットに接続 Power BI Service上のワークスペースに接続 ⚫
必須キーワード ⚫ EVALUATE ⚫ 省略可能なキーワード ⚫ ORDER BY ⚫ START AT ⚫ DEFINE MEASURE VAR TABLE COLUMN DAX クエリ - DAX | Microsoft Learn [DEFINE ( (MEASURE <table name>[<measure name>] = <scalar expression>) | (VAR <var name> = <table or scalar expression>) | (TABLE <table name> = <table expression>) | (COLUMN <table name>[<column name>] = <scalar expression>) | ) + ] EVALUATE <table> [ORDER BY {<expression> [{ASC | DESC}]}[, …]] [START AT {<value>|<parameter>} [, …]]] 復習
DAX Studio © Akihiro Sutoh 17 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続 DAXクエリ 結果
DAX Studio © Akihiro Sutoh 18 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続 DAXクエリ 結果 売上上位順に変更
DAX Studio © Akihiro Sutoh 19 DAX Studio | DAX
Studio ローカルのデータセットに接続 Power BI Service上のワークスペースに接続 DAXクエリ 結果 TOPN関数を利用 TOPN 関数 (DAX) - DAX | Microsoft Learn
Power Automateで活用 © Akihiro Sutoh 20
Power Automateで活用 © Akihiro Sutoh 21 Power BI - Connectors
| Microsoft Learn DAX Studioからコピペ
Power Automateで活用 © Akihiro Sutoh 22 Power BI - Connectors
| Microsoft Learn DAX Studioからコピペ
Power Automateで活用 © Akihiro Sutoh 23 Power BI - Connectors
| Microsoft Learn DAX Studioからコピペ
結果 © Akihiro Sutoh 24
アイデア💡 © Akihiro Sutoh 25
🤔
RPAコミュなのに
結構、手を動かした
でも
💪😁 Power !!