{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Tableau Desktop For Windows Import Integration","description":"Tableau DesktopでTreasure AIのデータを簡単にインポートし、インタラクティブに分析する方法を解説します。Presto/Trinoエンドポイントへの接続手順と、データ可視化のためのヒントを紹介します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tableau-desktop-for-windows-import-integration","__idx":0},"children":["Tableau Desktop For Windows Import Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://www.tableausoftware.com/"},"children":["Tableau Desktop"]},"とTreasure Dataを組み合わせることで、膨大なデータをインタラクティブに探索できます。また、Treasure Dataをデータソースとして統合する場所として使用することもできます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"接続の設定","__idx":1},"children":["接続の設定"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tableauを起動します。Connect > Presto または Trino を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべてのデータ接続のリストを表示するには、To a Server > Moreを選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205201.47f78f29ba2c1cfb09ca5eaa00d6656f47b946a4bbb520b845683154898594f9.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次に、以下の手順を完了します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Presto JDBCゲートウェイサーバーを入力します: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/apis/endpoints/endpoints"},"children":["Presto/Trino Endpoints"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ポート番号を入力します: 443"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["カタログ名を入力します: td"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["認証方法を選択します: Username"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Usernameを入力します: マスターAPIKEYを使用します（参照: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/my-settings/getting-your-api-keys"},"children":["Get APIKEY"]},"）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Require SSLチェックボックスを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign Inを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205302.1415e376909e9a12b7fa0d94b40da7a5246ef8c8dfc30479052cc7f34f4b7a37.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tableauが接続を完了できない場合は、認証情報が正しいことを確認してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-data-trinoエンドポイントへの接続","__idx":2},"children":["Treasure Data Trinoエンドポイントへの接続"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["左側のメニューから",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["More"]},"を選択します。",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Trino"]},"を選び、接続情報を入力します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sign In"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["テーブルからデータをインポートするには、Schema（データベース名）とTable（テーブル名）を入力するか、複数のテーブルからデータをインポートするSQLを記述します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Update Now"]},"を選択すると、Tableauウィンドウにデータが表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205528.7e05b6255431eb997e10d8b834ae58e9c0091041415258c7928090c34b047175.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205538.a2ba5c768f566949756865f02a1d18a5c5e997f22f9bd0f03d68735460b2022f.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ヒントとコツ","__idx":3},"children":["ヒントとコツ"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"timeフィールドをdatetime型として変換する","__idx":4},"children":["Timeフィールドをdatetime型として変換する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataはデフォルトでtimeカラムをUNIX timestampとして扱いますが、Tableauではdatetime型でタイムスタンプを扱う方が非常に便利です。以下の例では、\"time\"カラムに対して計算されたdatetimeフィールドを作成する方法を説明します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205551.8cce1a3b64201a1dbb7f41bad0b82919f720b7da0e9bb2e60d300cec57901b62.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Calculated Field"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205608.119241d8292235af4ffba81efb0870f48bfa1ffc42c37cc1987304ee677a271c.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次に、名前を入力し、Formulaセクションに以下の関数を入力します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sql RAWSQL_DATETIME(\"from_unixtime(%1)\", [time])"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205626.cce639ac294facb89c32b939438394d113eb2141bb591fc45a0b6e5e32a8d42c.d787083f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すると、計算されたフィールドがdatetime型としてDimensionsのリストに表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205651.543ecc66240074c0a6cb0dc8c5a9717c9e36bd9838ec19edd38170f02b2300cf.d787083f.png","alt":""},"children":[]}]}]},"headings":[{"value":"Tableau Desktop For Windows Import Integration","id":"tableau-desktop-for-windows-import-integration","depth":1},{"value":"接続の設定","id":"接続の設定","depth":2},{"value":"Treasure Data Trinoエンドポイントへの接続","id":"treasure-data-trinoエンドポイントへの接続","depth":2},{"value":"ヒントとコツ","id":"ヒントとコツ","depth":2},{"value":"Timeフィールドをdatetime型として変換する","id":"timeフィールドをdatetime型として変換する","depth":3}],"frontmatter":{"seo":{"title":"Tableau Desktop For Windows Import Integration","description":"Tableau DesktopでTreasure AIのデータを簡単にインポートし、インタラクティブに分析する方法を解説します。Presto/Trinoエンドポイントへの接続手順と、データ可視化のためのヒントを紹介します。"}},"lastModified":"2026-07-13T01:50:11.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/tableau-desktop-for-windows-import-integration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}