Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
780
レポートをつくる、その先の運用を考える🤔 Power BI Report Ops
hanaseleb
0
5.6k
Power BI データフローを考える
hanaseleb
1
1.9k
BIのPowerをAutomateする
hanaseleb
0
560
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
omasushiというライブラリを作った
polidog
PRO
0
140
Deploying a Full-Stack Bun-Native Framework on Cloudflare Workers
7nohe
0
110
PfEingのアプローチで働こう
rindrics
0
200
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
130
Sigmaユーザーのための有用リソース一挙公開 & Sigmaで使えるMCP #sigma_ucj /useful-resources-for-sigma-computing-users-and-mcps-with-sigma
shinyaa31
0
160
少人数データチームのDevin活用実践事例
runandy16
2
450
2026-09-04 SRE Tech Talk #15 怠惰なTerraform / Lazy Terraform
masasuzu
0
230
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
110
ペアプロの価値はコードを書くことだけじゃない
codmoninc
PRO
0
140
Webとヘルスデータ
yukukotani
1
200
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
330
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
220
Featured
See All Featured
Designing for Performance
lara
611
70k
The untapped power of vector embeddings
frankvandijk
2
1.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Color Theory Basics | Prateek | Gurzu
gurzu
0
460
How to train your dragon (web standard)
notwaldorf
97
6.8k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
650
Optimizing for Happiness
mojombo
378
71k
We Are The Robots
honzajavorek
0
350
How STYLIGHT went responsive
nonsquared
100
6.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Cost Of JavaScript in 2023
addyosmani
55
10k
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 !!