Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Japan Data Platform Tech Sales Team
土井
■DAX とは
Data Analysis Expressions (DAX) 言語は、Microsoft SQL Server Analysis Services (SSAS) や Excel の Power Pivot、Power BI Desktop で数式や式を作成するための部品として使用できる関数や演算子のライブラリです。DAX にはさまざまな種類の関数があり、 たとえば前年比の算出やカレンダーテーブルの作成などに必要なタイムインテリジェンス関数や IF, SWITCH などの論理関数、COUNT, RANKX などの集計関数等があります。
Excel ライクに記述が可能なため、比較的馴染みやすいのが特徴ですが、とはいえ、DAX の基本的な使い方や関数の一覧についてなかなかまとまった情報が見つかりにくい、というお問合せをよくいただくため、今回はまず第一弾として参考になるであろう各種リンクのご紹介を致します。
■日本語ナレッジ
[Data Analysis Expressions (DAX) リファレンス]
https://msdn.microsoft.com/library/gg413422.aspx
まずは何といっても公式のリファレンスです。慣れてくるとこのリファレンスが一番しっくりきますが、はじめて触る方にとっては少しハードルが高いかもしれません。中級~上級者向けです。
[Power BI Desktop における DAX の基本事項]
https://powerbi.microsoft.com/ja-jp/documentation/powerbi-desktop-quickstart-learn-dax-basics/
Power BI Desktop における、とありますが、SSAS や PowerPivot でも同様です。初心者向けの内容になってます。
[SQL Server 自習書 Analysis Services によるインメモリ BI 入門] (PDF)
https://go.microsoft.com/?linkid=9820057
P.75 (3.4 DAX 式を利用したメジャーの作成(比率や前年金額などの計算)) あたり。初心者向けです。
[Power BI Desktop を使って訪日外国人 (インバウンド) 統計データを可視化する]
https://blogs.msdn.microsoft.com/dataplatjp/?p=995
よく使う累計や前年比について触れています。サンプルファイルもダウンロードいただけます。初心者向けです。
■英語ナレッジ
[DAX Resource Center]
https://social.technet.microsoft.com/wiki/contents/articles/1088.dax-resource-center.aspx
DAX に関連する各種リソースをまとめています。Excel 2010 PowerPivot に関する内容が多いですが、SSAS や Power BI Desktop でも問題なく利用できます。
[DAX in the BI Tabular Model Whitepaper and Samples]
https://www.microsoft.com/en-us/download/details.aspx?id=28572
上記のリソースセンターの中で、有用と思われるサンプルコンテンツです。PowerPivot のサンプルファイルと、ホワイトペーパー 「Data Analysis Expressions (DAX) In PowerPivot for Excel 2010」 をダウンロードできます。
[Dax Patterns]
https://www.daxpatterns.com/usecases/
逆引きで DAX パターンを調べることができます。Excel 2010, 2013 のサンプルファイルもダウンロードできます。
■英語動画
[DAX 101] 初心者向け
https://www.youtube.com/watch?v=klQAZLr5vxA
[Advanced DAX ] 上級者向け
https://www.youtube.com/watch?v=6ncHnWMEdic
[Analyzing and Visualizing Data with Excel] 初心者向け
Topic2 The Excel Data Model and Basic DAX 8:50
Topic5 Advanced DAX 12:25
PowerPivot にフォーカスした内容です。字幕をオンにすることもできます。
■まとめ
第一弾では各種リンクの紹介をいたしました。今後、よく使われる関数について具体的な使い方について記事を書いていきたいと思っていますので、ご期待ください。
関連記事
DAX 入門
https://blogs.msdn.microsoft.com/dataplatjp/dax/
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in