DSN の作成
このセクションでは、DSN 設定の編集方法と、Airtable API へ認証および接続について説明します。
DSN 設定の編集
Microsoft ODBC データソースアドミニストレーターを使ってDSN 設定を編集できます。DSN はインストールプロセス中に作成されることに注意してください(コネクタのインストール 参照)。
DSN 設定を編集するには、次の手順を実行してください。
- [スタート]->[検索] を選択し、[検索]ボックスに[ODBC データソース] と入力します。
- Power BI Desktop インストールのビット数(32-bit または64-bit)に対応するODBC アドミニストレーターのバージョンを選択してください。
- [システムDSN] タブをクリックします。
- システムデータソースを選択して[構成]をクリックします。
- [接続]タブの情報を編集して[OK]をクリックします。
Airtable への接続
The 本製品 requests tables and views from Airtable.Authenticate, specify a base, and specify a list of tables to connect.
- ApiKey:Log into Airtable and navigate to the Account icon in the top-right corner.Then, select Account from the dropdown menu.From the Account page, navigate to the API section.Then, click Generate API key.Set the ApiKey to the generated key.
- BaseId:同じ[API]セクションで、BaseId を特定します。この値を特定するには、https://airtable.com/api に移動してベースを選択します。In the introduction section of the Airtable documentation for the selected base, note the value specified in "The ID of this base is Id."
- TableNames:A comma-separated list of table names for the selected base in the format TableA,TableB..etc..Supply the table names exactly as they are displayed in the Airtable UI.
- ViewNames(オプション):その形式のビューのカンマ区切りリスト。 TableA.ViewA,TableA.ViewB,..etc。 これらは、UI にあるビューと同じ名前です。
Note: カラム名に'.' 文字は使用しないでください。これは、パスに基づいてカラム名を作成する際に使用され、INSERT / UPDATE ステートメントを破壊する危険性があります。すでに'.' 文字を含むカラム名が存在する場合は、PathDelimiter をカラム名に使用しない文字に設定してください。