Mengganti sumber data untuk komponen, halaman, atau laporan
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat mengganti sumber data untuk diagram dan kontrol tertentu, halaman saat ini, atau seluruh laporan. Alasan Anda mungkin ingin melakukan hal ini mencakup:
Menyalin laporan dan mengganti sumber data Anda dengan sumber data klien.
Menguji laporan tanpa filter email yang diterapkan, lalu beralih ke sumber data dengan pemfilteran email.
Mengalihkan sumber data untuk komponen tertentu dari satu akun, sheet, atau tabel database ke akun, sheet, atau tabel database yang lain.
Mengganti sumber data tingkat laporan atau halaman default.
Hal yang terjadi saat Anda mengganti sumber data
Saat Anda mengganti sumber data di laporan, Looker Studio akan mencoba memetakan kolom di sumber data lama ke kolom di sumber data baru berdasarkan sejumlah kriteria pencocokan, termasuk ID kolom, nama kolom, dan informasi konfigurasi lainnya dari laporan itu sendiri. Looker Studio tidak akan mencoba memetakan kolom lama di filter dan kolom kalkulasi.
Jika tidak ditemukan kecocokan yang sesuai, laporan Anda dapat menampilkan komponen dengan pesan berikut:
Mengganti sumber data untuk satu komponen tidak memengaruhi komponen lain dalam laporan Anda.
Mengganti sumber data tingkat laporan atau halaman
Sebagian besar laporan tidak akan memiliki sumber data tingkat laporan atau halaman, kecuali jika Anda telah menetapkannya secara eksplisit. Menetapkan sumber data di tingkat laporan atau halaman tidak memengaruhi komponen yang sudah ada dalam laporan Anda. Sebaliknya, komponenbaru yang Anda tambahkan akan menggunakan sumber data tingkat laporan atau halaman secara default.
Mengganti sumber data tingkat laporan atau halaman akan mengikuti proses yang sama seperti yang diuraikan sebelumnya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Replace the data source for a component, page, or report\n\nYou can replace the data source for selected charts and controls, the current page, or the entire report. Reasons you might want to do this include:\n\n- Copying a report and replacing your data source with a client's data source.\n - See also: [Add a data control to a report](/looker/docs/studio/data-control).\n- Testing a report with no email filters applied, then switching to a data source with email filtering.\n- Switching the data source for a selected component from one account, sheet, or database table to another.\n- Overriding the default page or report-level data source.\n\nWhat happens when you replace a data source\n-------------------------------------------\n\nWhen you replace a data source in your report, Looker Studio tries to map the fields in the old data source to the fields in the new data source based on a number of matching criteria, including field ID, field name, and other configuration information from the report itself. Looker Studio won't try to map your old fields in calculated fields and filters.\n\nIf no suitable match is found, your report may display components with the following message:\n\n`Important: Chart configuration incomplete. Invalid/Missing dimensions, metrics, filters.`\n\nTo fix this, edit the incomplete components and select new dimension, metric, sorting, or date range fields.\n| **Warning:** We strongly recommend that you review your entire report for accuracy after you replace any data sources that are used in the report.\n\nReplace a component data source\n-------------------------------\n\n1. [Edit your report](/looker/docs/studio/edit-a-report).\n2. Select one or more charts or controls.\n3. In the selected component's **Properties** panel, select the **Setup** tab.\n4. In the **Data source** section, click the current data source name.\n5. Select an existing data source from the options that are listed, or click **+ Add data** to add a new data source.\n 1. Learn more about [creating a data source](/looker/docs/studio/add-data-to-a-report).\n6. If prompted, click **Add to report.**\n\nReplacing the data source for one component has no effect on the other components in your report.\n\nReplace a page or report-level data source\n------------------------------------------\n\nMost reports won't have page or report-level data sources unless you've explicitly set them. Setting a data source at the page or report level has **no effect on existing components** in your report. Instead, **new** **components** that you add use the page or report-level data source by default.\n\nReplacing a page or report-level data source follows the same process as outlined previously.\n\n### Replace the data source for the current page\n\n1. [Edit your report](/looker/docs/studio/edit-a-report).\n2. Navigate to a specific page.\n3. In the top navigation, first select **Page** and then select **Current page settings** to open the **Current Page Settings** panel.\n4. In the **Current Page Settings** panel, select the **Setup** tab, and then click the current data source (or **Select Data Source**, if no data source has been added).\n5. Select an existing data source or create a new one.\n6. If prompted, click **Add to report.**\n\n### Replace the data source for the entire report\n\n1. [Edit your report](/looker/docs/studio/edit-a-report).\n2. In the top navigation, select **File** and then select **Report settings** to open the **Report Settings** panel.\n3. In the **Report Settings** panel, click the current data source (or **Select Data Source**, if no data source has been added).\n4. Select an existing data source or create a new one.\n5. If prompted, click **Add to report.**\n\nRelated resources\n-----------------\n\n[Edit the data source connection.](/looker/docs/studio/edit-the-data-source-connection)"]]