SlideShare a Scribd company logo
1 of 11
Download to read offline
DAX Boot Camp
DAXに関する知識の共有
2019/10/5
2
コンテンツ
1. DAXとは
2. DAXの特徴
3. DAX学習Tips
4. DAXで苦労した点
※デモあり
33
DAXとは
What is DAX
D(どう)
A(あがいても)
X(無理)
Data Analysis eXpression
- Power BI, Analysis Service,
- Excel Power Pivot用の言語
移動平均3ヶ月売上単価 =
VAR PeriodCount = -3
VAR PeriodToUse =
DATESINPERIOD ( dDate[Date], MAX ( dDate[Date] ), PeriodCount,
MONTH )
VAR SalesQty =
CALCULATE ( SUM ( Sales[SalesQuantity] ), PeriodToUse )
VAR SalesAmt =
CALCULATE ( SUM ( Sales[SalesAmount] ), PeriodToUse )
VAR AveragePrice = DIVIDE ( SalesAmt, SalesQty )
RETURN
AveragePrice
0
50
100
150
200
250
300
0
2
4
6
8
10
12
200701 200706 200711 200804 200809 200902 200907 200912
単価:ドル在庫:百万ドル 在庫・売上単価推移
在庫金額 直近3ヶ月平均売上単価
44
DAXの特徴(全般)
DAX in general
 DAXはポータブル関数(一度定義すればどこでも使用可能)
 DAXはExcelと同じ名称の関数が使われることが多い(入門しやすいが、途中から”迷子”に)
 BI構築に際して必要とされる難易度によってDAXを学ぶ“深度”が変わってくる
 DAXは最終的に基礎を学ぶ(知る)ことが最も重要
※最終的にという意味は、どこかで必ず“原点に戻る”必要がある
 DAXはシンプルだが、簡単ではない (by Marco Russo / Alberto Ferrari from SQLBI)
 DAXに対する興味を持てるかどうか、 DAXをどこまで極めたいか次第
Marco Russo
DAXの神様
55
DAXの特徴(テクニカル面)
What’s unique in DAX
 関数言語とクエリ言語である(数値操作、テーブル操作)
 Excelはセル単位、DAXは列単位で考える
 DAXはデータ・モデリングとセットで考える必要がある(DAXの重要度 < モデリングの重要度)
※モデリングがしっかりしている場合、複雑なDAX数式を使う必要はない
 Evaluation Contextの概念
- Row Context vs Filter Context(共存関係)
- Context Transition(Row Contextの中でFilter Contextを発生させること)
 Relationshipの定義(One-to-Many, One-to-One, Many-to-Many)
 同じ計算結果でもパフォーマンスが異なる(DAX数式の最適化)
 Row ContextはRelationshipとは関係ないが、Filter ContextではRelationshipの定義によって
自動的に生成される
66
DAX学習Tips(参考書①)
Tips in learning DAX
DAXの全てを網羅1
77
DAX学習Tips(参考書②)
Tips in learning DAX
実践を試したい方2
88
DAX学習Tips(参考書③)
Tips in learning DAX
データモデル中心3
99
DAX学習Tips(参考書④)
Tips in learning DAX
Excel Power Pivot
4
1010
DAX学習Tips(その他)
Tips in learning DAX
 最初は摘み食い、途中から原点に立ち返る
- まず実践してみて、つまづいたら基礎に戻る(※基礎がないまま突っ走ると・・・)
 DAXに関する不明点を検索しても出てこない?
- 英語で検索するとかなりの割合で回答に辿り着ける。殆どがSQLBIにたどり着いてしまうので、
- 英語ベースで勉強することをオススメ
 自分の興味ある分野に適用していく(効率良く試行錯誤)
 Evaluation ContextとRelationshipを理解すること
 VARを可能な限り使う
- コードの見やすさ、クエリのパフォーマンスアップに繋がる
 躓いた場合、現在のFilter Context(フィルターされているコンディション)が何かを考える
1111
DAXで苦労した点
What makes you crazy in DAX
 合計値が合わない(デモ)
IF構文を使うと、合計数値が一致しない
 DAXとRelationshipのコンボ(デモ)
Filterの伝播方向の確認
(例:ProductCount = COUNTROWS( dProduct )をProductとDateでFilterした場合)
 CALCULATEのフィルタ引数(Filter arguments)について(デモ)
テーブルフィルタしか取らない(スカラー値 vs テーブルフィルターの混同)
 Context Transitionによる混乱
- 数値のダブルカウント集計
- Row ContextにおけるContext Transitionの発生
 数値を計算するのに、何が必要なのか(特にVARを使ってフィルタ引数を構築する場合)
 ALL*(ALL family)の概念及びその使い分け

More Related Content

Recently uploaded

業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)Hiroshi Tomioka
 
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineerYuki Kikuchi
 
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfFumieNakayama
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfFumieNakayama
 
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?akihisamiyanaga1
 
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...博三 太田
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案sugiuralab
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NTT DATA Technology & Innovation
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)UEHARA, Tetsutaro
 

Recently uploaded (9)

業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
 
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdfクラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
 
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdfAWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
 
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
 
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察  ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
 

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

DAX Boot Camp #0

  • 2. 2 コンテンツ 1. DAXとは 2. DAXの特徴 3. DAX学習Tips 4. DAXで苦労した点 ※デモあり
  • 3. 33 DAXとは What is DAX D(どう) A(あがいても) X(無理) Data Analysis eXpression - Power BI, Analysis Service, - Excel Power Pivot用の言語 移動平均3ヶ月売上単価 = VAR PeriodCount = -3 VAR PeriodToUse = DATESINPERIOD ( dDate[Date], MAX ( dDate[Date] ), PeriodCount, MONTH ) VAR SalesQty = CALCULATE ( SUM ( Sales[SalesQuantity] ), PeriodToUse ) VAR SalesAmt = CALCULATE ( SUM ( Sales[SalesAmount] ), PeriodToUse ) VAR AveragePrice = DIVIDE ( SalesAmt, SalesQty ) RETURN AveragePrice 0 50 100 150 200 250 300 0 2 4 6 8 10 12 200701 200706 200711 200804 200809 200902 200907 200912 単価:ドル在庫:百万ドル 在庫・売上単価推移 在庫金額 直近3ヶ月平均売上単価
  • 4. 44 DAXの特徴(全般) DAX in general  DAXはポータブル関数(一度定義すればどこでも使用可能)  DAXはExcelと同じ名称の関数が使われることが多い(入門しやすいが、途中から”迷子”に)  BI構築に際して必要とされる難易度によってDAXを学ぶ“深度”が変わってくる  DAXは最終的に基礎を学ぶ(知る)ことが最も重要 ※最終的にという意味は、どこかで必ず“原点に戻る”必要がある  DAXはシンプルだが、簡単ではない (by Marco Russo / Alberto Ferrari from SQLBI)  DAXに対する興味を持てるかどうか、 DAXをどこまで極めたいか次第 Marco Russo DAXの神様
  • 5. 55 DAXの特徴(テクニカル面) What’s unique in DAX  関数言語とクエリ言語である(数値操作、テーブル操作)  Excelはセル単位、DAXは列単位で考える  DAXはデータ・モデリングとセットで考える必要がある(DAXの重要度 < モデリングの重要度) ※モデリングがしっかりしている場合、複雑なDAX数式を使う必要はない  Evaluation Contextの概念 - Row Context vs Filter Context(共存関係) - Context Transition(Row Contextの中でFilter Contextを発生させること)  Relationshipの定義(One-to-Many, One-to-One, Many-to-Many)  同じ計算結果でもパフォーマンスが異なる(DAX数式の最適化)  Row ContextはRelationshipとは関係ないが、Filter ContextではRelationshipの定義によって 自動的に生成される
  • 10. 1010 DAX学習Tips(その他) Tips in learning DAX  最初は摘み食い、途中から原点に立ち返る - まず実践してみて、つまづいたら基礎に戻る(※基礎がないまま突っ走ると・・・)  DAXに関する不明点を検索しても出てこない? - 英語で検索するとかなりの割合で回答に辿り着ける。殆どがSQLBIにたどり着いてしまうので、 - 英語ベースで勉強することをオススメ  自分の興味ある分野に適用していく(効率良く試行錯誤)  Evaluation ContextとRelationshipを理解すること  VARを可能な限り使う - コードの見やすさ、クエリのパフォーマンスアップに繋がる  躓いた場合、現在のFilter Context(フィルターされているコンディション)が何かを考える
  • 11. 1111 DAXで苦労した点 What makes you crazy in DAX  合計値が合わない(デモ) IF構文を使うと、合計数値が一致しない  DAXとRelationshipのコンボ(デモ) Filterの伝播方向の確認 (例:ProductCount = COUNTROWS( dProduct )をProductとDateでFilterした場合)  CALCULATEのフィルタ引数(Filter arguments)について(デモ) テーブルフィルタしか取らない(スカラー値 vs テーブルフィルターの混同)  Context Transitionによる混乱 - 数値のダブルカウント集計 - Row ContextにおけるContext Transitionの発生  数値を計算するのに、何が必要なのか(特にVARを使ってフィルタ引数を構築する場合)  ALL*(ALL family)の概念及びその使い分け