Sustituir la fuente de datos de un componente, una página o un informe
Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
Puedes sustituir la fuente de datos de los gráficos y controles seleccionados, de la página actual o de todo el informe. Estos son algunos de los motivos por los que podrías hacerlo:
Copiar un informe y sustituir tu fuente de datos por la de un cliente.
Probar un informe sin filtros de correo electrónico y, a continuación, cambiar a una fuente de datos con filtro de correo electrónico.
Cambiar la fuente de datos de un componente seleccionado de una cuenta, hoja o tabla de base de datos a otra.
Sustituir la fuente de datos predeterminada a nivel de página o de informe.
Qué ocurre cuando se sustituye una fuente de datos
Cuando sustituyes una fuente de datos en un informe, Looker Studio intenta asignar los campos de la fuente de datos antigua a los campos de la nueva fuente en función de una serie de criterios que coinciden, como el ID de campo, el nombre de campo y otros datos de configuración del informe. Looker Studio no intentará asignar los campos antiguos a campos calculados ni filtros.
Si no se encuentra ninguna coincidencia adecuada, puede que los componentes del informe se muestren con el siguiente mensaje:
Sustituir la fuente de datos de un componente no influye en los demás componentes del informe.
Sustituir una fuente de datos a nivel de página o de informe
La mayoría de los informes no tendrán fuentes de datos a nivel de página o de informe a menos que las hayas configurado explícitamente. La configuración de una fuente de datos a nivel de página o de informe no influye en los componentes del informe. Los nuevoscomponentes que añadas utilizarán la fuente de datos a nivel de página o de informe de forma predeterminada.
Para sustituir una fuente de datos a nivel de página o de informe, se sigue el procedimiento descrito anteriormente.
En el panel de navegación superior, selecciona primero Página y, a continuación, Configuración de la página actual para abrir el panel Configuración de la página actual.
En el panel Configuración de la página actual, seleccione la pestaña Configuración y, a continuación, haga clic en la fuente de datos actual (o en Seleccionar fuente de datos si no se ha añadido ninguna).
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-20 (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)"]]