---
title: 【QlikView】ツリー構造
description: ツリー構造
image: https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure11.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/aa7d2aca-2874-4f87-98d4-99e3ab71d2a7.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/5935783/aa7d2aca-2874-4f87-98d4-99e3ab71d2a7)

<https://knowledge.insight-lab.co.jp/qlikview/knowledge/sheetobject/tree_structure#tmpmodule_1597914334234394>

- [Qlikナレッジ](https://knowledge.insight-lab.co.jp/qliksense)
- [セミナー](https://event.insight-lab.co.jp/qlik-seminar)
- [お役立ち資料](https://download.insight-lab.co.jp/qlikview/download)

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

# [【QlikView】ツリー構造](https://knowledge.insight-lab.co.jp/qlikview/knowledge/sheetobject/tree_structure)

 執筆者 [KJ](https://knowledge.insight-lab.co.jp/qlikview/author/kj) 更新日時 2014年2月18日

###### Topics: [シートオブジェクト](https://knowledge.insight-lab.co.jp/qlikview/tag/sheetobject) [ツリー構造](https://knowledge.insight-lab.co.jp/qlikview/tag/e38384e383aae383bce6a78be980a0)

![](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure11.png)

QlikView（クリックビュー）ではリストボックスをツリー構造で表示することができます。

ツリー構造では、操作を容易にするために段差をつけて格納されているデータを表示します。

データを折りたたむとリストボックスで一行にまとめられて表示されます。

リストボックスにデータを格納し、ツリー構造の表示をしてみましょう。

 

 

● リストボックスの作成

1.[リストボックスの追加ウインドウ](https://knowledge.insight-lab.co.jp/qlikview/knowledge/sheetobject/add-listbox)を開きます。

以下のように、階層が作成できるデータが格納されたリストボックスを作成します。

[![tree_structure1](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure11.png?width=177&height=328&name=tree_structure11.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure11.png)

 

■ リストボックスのプロパティ

1.【基本設定】の【ツリー構造表示の設定】のチェックボックスをオンにします。

2.【OKボタン】を押します。

 [![tree_structure2](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure2.png?width=630&height=410&name=tree_structure2.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure2.png)

以上の作業から以下のツリー構造を利用したリストボックスが作成されたことが確認できます。

 

[![tree_structure3](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure31.png?width=167&height=72&name=tree_structure31.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure31.png)

 

2006年の5月を選択してみましょう。

[![tree_structure4](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure4.png?width=189&height=447&name=tree_structure4.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure4.png)

年月日が格納されていることが確認できます。

また、日付以外にも様々なデータに応用できます。

 

● リストボックス

以下のようなデータの入ったリストボックスを作成します。

[![tree_structure5](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure51.png?width=153&height=263&name=tree_structure51.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure51.png)

■ リストボックスのプロパティ

1.【基本設定】の【ツリー構造表示の設定】のチェックボックスをオンにします。

2.【設定セパレーター】の欄に『-』を入力します。

3.【OKボタン】を押します。

[![tree_structure6](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure61.png?width=626&height=406&name=tree_structure61.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure61.png)

 

以上の作業から以下のツリー構造を利用したリストボックスが作成されていることが確認できます。

[![tree_structure7](https://knowledge.insight-lab.co.jp/hs-fs/hubfs/Imported_Blog_Media/tree_structure71.png?width=143&height=324&name=tree_structure71.png)](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/tree_structure71.png)

 

 

【設定セパレーター】の欄に入力することで、どの記号を使ったデータでもツリー構造にすることができます。

 

 

 

QlikViewを体験してみませんか？

INSIGHT LABではQlik紹介セミナーを定期開催しています。QlikViewとQlik Senseの簡単な製品概要から、Qlikの特性である「連想技術」のご紹介、デモを通してQlikViewとQlik Senseの操作感や美しいインターフェースをご覧いただきます。企業の大切な資産である膨大なデータからビジネスを発見する 「Business Discovery」を是非ご体験ください。

[![詳細はこちら](https://hubspot-no-cache-na2-prod.s3.amazonaws.com/cta/default/5935783/4a7308dd-d660-4b98-9c26-e0e0c9fd28a0.png)](https://hubspot-cta-redirect-na2-prod.s3.amazonaws.com/cta/redirect/5935783/4a7308dd-d660-4b98-9c26-e0e0c9fd28a0)

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

![KJ](https://app.hubspot.com/settings/avatar/1660aae1748ca96aed5604f20fcbd847)

#### 執筆者 [KJ](https://knowledge.insight-lab.co.jp/qlikview/author/kj)

セールスマーケティング 部長 野球部 部長

###### [前の投稿](https://knowledge.insight-lab.co.jp/qlikview/knowledge/functiontips/index_function)

[![](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/index11.png)](https://knowledge.insight-lab.co.jp/qlikview/knowledge/functiontips/index_function)

###### [【QlikView】Index関数を使う](https://knowledge.insight-lab.co.jp/qlikview/knowledge/functiontips/index_function)

###### [次の投稿](https://knowledge.insight-lab.co.jp/qlikview/knowledge/functiontips/mini-string-max-string)

[![](https://knowledge.insight-lab.co.jp/hubfs/Imported_Blog_Media/min_maxstrang1.png)](https://knowledge.insight-lab.co.jp/qlikview/knowledge/functiontips/mini-string-max-string)

###### [【QlikView】Mini string , Max string関数](https://knowledge.insight-lab.co.jp/qlikview/knowledge/functiontips/mini-string-max-string)

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

<https://knowledge.insight-lab.co.jp/qlikview/qlikview_function-tips_list>

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

#### [QlikView 関数 まとめ一覧【重要関数大全】](https://knowledge.insight-lab.co.jp/qlikview/qlikview_function-tips_list)

###### 2020年 8月 28日

<https://knowledge.insight-lab.co.jp/qlikview/loadscript>

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

#### [【QlikView】簡単にデータを扱うことができる：ロードスクリプト まとめ一覧【初心者向け】](https://knowledge.insight-lab.co.jp/qlikview/loadscript)

###### 2020年 8月 28日

<https://knowledge.insight-lab.co.jp/qlikview/knowledge/loadscript/join_keep_concatenate>

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

#### [【QlikView】テーブルを結合するJoin句,Keep句,Concatenate句の違い](https://knowledge.insight-lab.co.jp/qlikview/knowledge/loadscript/join_keep_concatenate)

###### 2014年 7月 17日

##### INFORMATION

INFORMATION

- [会社概要](https://www.insight-lab.co.jp/about/company.html)
- [お問い合わせ](https://contact.insight-lab.co.jp/main)

##### MENU

MENU

- QlikViewとは
- [QlikViewナレッジ](https://knowledge.insight-lab.co.jp/qlikview)
- [セミナー](https://event.insight-lab.co.jp/qlik-seminar)
- [お役立ち資料](https://download.insight-lab.co.jp/qlikview/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.png?width=200&height=55&name=INSIGHT%20LAB_%E6%96%87%E5%AD%97%E3%81%AE%E3%81%BF_WHT.png "INSIGHT LAB")](https://www.insight-lab.co.jp/)

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

Copyright © 2020 INSIGHT LAB, Inc.

<https://www.facebook.com/qlikview.Knowledge.iways.co.jp>