假設您有一個以未篩選的 Google Analytics 網站資源為基礎的資料來源,並已根據該資料來源建立 Looker Studio 報表。假設您在 Analytics 帳戶中建立了新的篩選資源,並想將該資料與現有報表搭配使用。如要匯入經過篩選的新資料,並保留所有設定變更 (例如計算結果欄位、重新命名的欄位或變更的匯總),您可以將資料來源重新連結至新資源。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Edit the data source connection\n\nYou can change a data source's connection to the underlying data. This lets you connect to different data using an existing data source.\n\nEditing the data source connection lets you:\n\n- Reestablish a broken connection to your data.\n- Connect to a different account, Google Sheet, database table, and such.\n- Edit a BigQuery custom query connection.\n- Use a different connector.\n\nExample\n-------\n\nSuppose you have a data source based on an unfiltered Google Analytics web property and have created a Looker Studio report based on that data source. Now, say you create a new filtered property in your Analytics account, and want to use that data with your existing report. To bring in the new filtered data and leave any configuration changes intact (such as calculated fields, renamed fields, or changed aggregations), you can reconnect the data source to the new property.\n| **Warning:** Editing a data source connection can have a big impact on your reports. **Proceed with caution.**\n\nWho can reconnect a data source\n-------------------------------\n\nAnyone who can edit the data source can edit its connection. For embedded data sources, this includes report editors. For reusable data sources, you must have [Can Edit permission](/looker/docs/studio/roles-and-permissions) to the data source.\n\nHow to reconnect a data source\n------------------------------\n\n1. [Edit the data source](/looker/docs/studio/edit-a-data-source).\n2. In the upper left, click **EDIT CONNECTION**.\n3. Select the new dataset.\n4. In the upper right, click **RECONNECT**. Looker Studio shows the fields changed by this action, if any.\n5. Click **APPLY**.\n\nEffects of reconnecting a data source\n-------------------------------------\n\n- New fields from the dataset are added to the data source.\n- Fields that have been removed from the dataset are removed from the data source.\n- Fields that have been removed from the data source are added back to the data source.\n- If there are changes to the fields or the underlying dataset, you become the new [credentials owner](/looker/docs/studio/data-credentials). If the data source uses service account credentials, and you don't have permission to use that service account, you become the new credentials owner.\n- Other changes you've made to the data source, such as renaming fields, changing field types or aggregations, and adding descriptions, are not affected.\n- Any reports using to this data source continue to do so, however, you may need to fix any charts broken by the field changes.\n\n| **Important:** If any of the removed dimensions or metrics are used in calculated fields, those calculated fields are disabled. You can edit or remove them, as needed."]]