SlideShare una empresa de Scribd logo
1 de 5
Descargar para leer sin conexión
パネルチャートの
Column/Row Dividerについて
Yoshitaka Arakawa
注
・数学の専門家ではないので、恐らく適当なこと言ってます。
・今回のような「任意の数列を正方行列に1列or1行足した形で表す」という問題は、
必ずどこかで研究されていると思うので、ご存知の方はご一報いただければありがたいです。
【INDEX()とSIZE()について】
Sub Categoryに沿ったINDEXは1~17です。
したがって、SIZE()は17を返します。
なので、ROUND(SQRT(SIZE()))は4を返します。
まずはINDEX()-1を使わずに、INDEX()それだけで見てみます。
以下、次のように表記します。
参照
Row Divider:
INT((INDEX()-1)/(ROUND(SQRT(SIZE()))))
Column Divider:
INT((INDEX()-1)%(ROUND(SQRT(SIZE()))))
参照
𝑁 := SIZE(), (今回の場合𝑁 =17)
[ 𝑁] := ROUND(SQRT(SIZE())). (今回の場合[ 𝑁] =4)
𝑎: INDEX()を[ 𝑁]で割った商
𝑏: INDEX()を[ 𝑁]で割った余り
はじめに
1
2
3
4
5
6
7
8
9
⋮
15
16
17
参照
Row Divider:
INT((INDEX()-1)/(ROUND(SQRT(SIZE()))))
Column Divider:
INT((INDEX()-1)%(ROUND(SQRT(SIZE()))))
参照
𝑁 := SIZE(), (今回の場合𝑁 =17)
[ 𝑁] := ROUND(SQRT(SIZE())). (今回の場合[ 𝑁] =4)
𝑎: INDEX()を[ 𝑁]で割った商
𝑏: INDEX()を[ 𝑁]で割った余り
𝑎 = 0
𝑎 = 1
𝑎 = 3
𝑎 = 2
𝑎 = 4
𝑏 = 1𝑏 = 2𝑏 = 3𝑏 = 4
【1~17の数字を𝑎と𝑏でグルーピング】
左図はそれぞれのINDEX()について、
𝑎と𝑏の値でグループ分けしています。
【なぜINDEX()-1を使うのか】
これを見ると、 𝑎 = 0の場合だけ3つの数字、それ以降で
4つに分けられています。
これをINDEX()→INDEX()-1にすることで、最初から4つの数字を
グループにできます。
INDEXのグループ分け
参照
Row Divider:
INT((INDEX()-1)/(ROUND(SQRT(SIZE()))))
Column Divider:
INT((INDEX()-1)%(ROUND(SQRT(SIZE()))))
参照
𝑁 := SIZE(), (今回の場合𝑁 =17)
[ 𝑁] := ROUND(SQRT(SIZE())). (今回の場合[ 𝑁] =4)
𝑎: INDEX()を[ 𝑁]で割った商
𝑏: INDEX()を[ 𝑁]で割った余り
【INDEX()-1が作る行列】
左図はそれぞれのINDEX()について、
𝑎と𝑏の値でグループ分けしています。
先ほどのグルーピングを用いて行列を作ります。
Row方向、Column方向に数字を整列させると、左のようになります。
ここで𝑎がRow Dividerに、 𝑏がColumn Dividerに対応します。
𝑎 = 0
𝑎に関する方向
𝑎 = 1
𝑎 = 2
𝑎 = 3
𝑎 = 4
𝑏
に
関
す
る
方
向
行列に変換
一般化
0
1
2
⋮
[ 𝑁] − 1
[ 𝑁]
[ 𝑁] + 1
⋮
𝑘[ 𝑁]+ [ 𝑁] − 1
𝑘[ 𝑁]
𝑘[ 𝑁] + 1
⋮
𝑁 − 1
𝑁
ただし0 ≤ 𝑘 < [ 𝑁]
0 1 ⋯ 𝑁 − 2 𝑁 − 1
⋮ ⋮ ⋮ ⋮ ⋮
𝑘 𝑁 𝑘 𝑁 + 1 ⋯ 𝑘 𝑁 + 𝑁 − 2 𝑘 𝑁 + 𝑁 − 1
⋮ ⋮ ⋮ ⋮ ⋮
𝑎 = 0
𝑎 = 𝑘

Más contenido relacionado

Último

Último (7)

NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
業務で生成AIを活用したい人のための生成AI入門講座(社外公開版:キンドリルジャパン社内勉強会:2024年4月発表)
 
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デバイス
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 

Destacado

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
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
Kurio // The Social Media Age(ncy)
 

Destacado (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
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
 

Panel chart