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

知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptxsn679259
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルCRI Japan, Inc.
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Gamesatsushi061452
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイスCRI Japan, Inc.
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsWSO2
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video UnderstandingToru Tamaki
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Hiroshi Tomioka
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...Toru Tamaki
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。iPride Co., Ltd.
 

Recently uploaded (11)

知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 

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)の概念及びその使い分け