---
title: 【Tableau】演習問題：2つのシートを結合
description: この記事は、『演習』の第１回の記事です。サンプル-スーパーストアのデータを使用しているのでTableauをお使いの方ならどなたでも同じ方法で試すことができます。今回は2つのシートを結合させる方法をご紹介します。手順を画像付きでわかりやすく解説していますのでぜひご覧ください！
image: https://knowledge.insight-lab.co.jp/hubfs/image%20(5)-1.png
---

![INSIGHT LAB_文字のみ_WHT-1](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF_WHT-1.png?width=400&height=110&name=INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF_WHT-1.png)

![INSIGHT LAB_文字のみ](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF.png?width=400&height=110&name=INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF.png)

[![相談・お問い合わせ](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/5935783/4871ff46-eca7-4fd2-8f82-565d765c8ad8.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/5935783/4871ff46-eca7-4fd2-8f82-565d765c8ad8)

<https://knowledge.insight-lab.co.jp/tableau/beginner/exercises-seat#tmpmodule_1596100659480207>

- [Tableauとは](https://service.insight-lab.co.jp/Tableau)
- [Tableauナレッジ](https://knowledge.insight-lab.co.jp/tableau)
- [お役立ち資料](https://download.insight-lab.co.jp/tableau/download)
- [研修コース](https://service.insight-lab.co.jp/data-analytics-dojo/training_course)

###### 1 分で読むことができます。

# [【Tableau】演習問題：2つのシートを結合](https://knowledge.insight-lab.co.jp/tableau/beginner/exercises-seat)

 執筆者 [BI LAB編集室](https://knowledge.insight-lab.co.jp/tableau/author/bi-lab) 更新日時 2017年10月19日

###### Topics: [初心者](https://knowledge.insight-lab.co.jp/tableau/tag/beginner) [関係と結合](https://knowledge.insight-lab.co.jp/tableau/tag/関係と結合)

![](https://knowledge.insight-lab.co.jp/hubfs/image%20(5)-1.png)

この記事は、『演習』の第１回の記事です。  
目次は[こちら](https://knowledge.insight-lab.co.jp/tableau/beginner/exercises-table-of-contents)。

## 以下のようなビューを作成しましょう。

●結合を使ってサブカテゴリごとに返品された注文製品数（製品名のカウント数）のグラフを作成します。

![](https://knowledge.insight-lab.co.jp/hubfs/image-png-Jan-27-2022-01-54-15-96-AM.png)

### 手順

※2020.2以降のバージョンを利用した手順になります。  
1. 新しいワークシートを開き、サンプル - スーパーストアに接続します。  
2.「注文」テーブルをドラッグし、「テーブルをここまでドラッグ」のところでドロップします。  
3.「注文」テーブルをダブルクリックします。  
 (以下のような画面が表示されます。)  
![](https://knowledge.insight-lab.co.jp/hubfs/image-png-Jan-05-2022-08-54-27-96-AM.png)  
4.データソース画面で「返品」シートを「注文」シートの隣にドラッグ＆ドロップします。

![](https://knowledge.insight-lab.co.jp/hubfs/image-png-Jan-05-2022-09-04-21-51-AM.png)

3.「オーダーID」フィールドを使用して、内部結合していることを確認します。

![](https://knowledge.insight-lab.co.jp/hubfs/image-png-Jan-05-2022-09-05-24-27-AM.png)

4.シートに移動し、「カウント（注文）」を列へ、「サブカテゴリ」を行へ配置します。

![](https://knowledge.insight-lab.co.jp/hubfs/image-png-Jan-19-2022-10-29-22-12-AM.png)

5.サブカテゴリを降順に並べ替え、完成です。

![](https://knowledge.insight-lab.co.jp/hubfs/image-png-Jan-05-2022-09-10-35-03-AM.png)

 

[演習の目次へ](https://knowledge.insight-lab.co.jp/tableau/beginner/exercises-table-of-contents)

データ利活用のプロに相談してみませんか？

INSIGHT LABでは、Tableauだけではなく、他BI製品含めたご相談を承っております。導入済みのお客様からのご相談も多く頂いております。お気軽に以下よりご相談ください。

[![相談・お問い合わせ](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/5935783/4871ff46-eca7-4fd2-8f82-565d765c8ad8.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/5935783/4871ff46-eca7-4fd2-8f82-565d765c8ad8)

- [Tweet](https://twitter.com/share)

![BI LAB編集室](https://knowledge.insight-lab.co.jp/hubfs/image%20(3)-3.png)

#### 執筆者 [BI LAB編集室](https://knowledge.insight-lab.co.jp/tableau/author/bi-lab)

BI LAB（データ活用研究所）編集室です。 BI、AI、DWHなどデータ活用に関するトレンドやニュースやコラムをほぼ毎日配信しています。押さえておきたい基本知識から、最新ニュース、事例インタビューやお役立ち情報・セミナーレポートまで、データ活用の専門家ならではの視点と情報量でお届けします。

###### [次の投稿](https://knowledge.insight-lab.co.jp/tableau/beginner/how-to-use-table-of-contents)

[![ゼロからわかる！Tableau使い方入門講座目次](https://knowledge.insight-lab.co.jp/hubfs/%E3%82%BC%E3%83%AD%E3%81%8B%E3%82%89%E5%88%86%E3%81%8B%E3%82%8B%EF%BC%81Tableau%E5%85%A5%E9%96%80%E8%AC%9B%E5%BA%A7_%E7%9B%AE%E6%AC%A1.jpg)](https://knowledge.insight-lab.co.jp/tableau/beginner/how-to-use-table-of-contents)

###### [ゼロからわかるBIツールTableau（タブロー）使い方 入門講座の目次](https://knowledge.insight-lab.co.jp/tableau/beginner/how-to-use-table-of-contents)

RECOMMEND こちらの記事も人気です。

<https://knowledge.insight-lab.co.jp/tableau/tableau-keisanfield10>

###### 6 分で読むことができます。

#### [Tableau 計算フィールド活用術：実務で使える計算式10選とその用途](https://knowledge.insight-lab.co.jp/tableau/tableau-keisanfield10)

###### 2025年 6月 24日

<https://knowledge.insight-lab.co.jp/tableau/data-source/function_datetrunc>

###### 1 分で読むことができます。

#### [【Tableau】日付関数入門【DATETRUNCで日付を特定の日付単位に丸める】](https://knowledge.insight-lab.co.jp/tableau/data-source/function_datetrunc)

###### 2018年 12月 9日

<https://knowledge.insight-lab.co.jp/tableau/tableau-data-source-replacement-method>

###### 2 分で読むことができます。

#### [【Tableau】データソースの置換手順 (Tableau Certified Data Analyst 出題範囲)](https://knowledge.insight-lab.co.jp/tableau/tableau-data-source-replacement-method)

###### 2024年 5月 19日

##### 運営会社

運営会社

- [会社概要](https://www.insight-lab.co.jp/about/company.html)
- [運営責任者](https://twitter.com/Kajiwara81)
- [お問い合わせ](https://contact.insight-lab.co.jp/main)

##### メニュー

メニュー

- Tableauとは
- [Tableau技術ナレッジ](https://knowledge.insight-lab.co.jp/tableau)
- Tableau研修
- [お役立ち資料](https://download.insight-lab.co.jp/tableau/download)

[![INSIGHT LAB](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF_WHT-1.png?width=200&height=55&name=INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF_WHT-1.png "INSIGHT LAB")](https://www.insight-lab.co.jp/)

- [プライバシーポリシー](https://www.insight-lab.co.jp/privacy.html)

Copyright © 2020 INSIGHT LAB, Inc.

<https://twitter.com/INSIGHTLAB_INC><https://www.youtube.com/@insightlab2105>