---
schema_version: "1"
id: 5ca378fdd168cac6f6a617129feba34736b365381d56a26174a0c9ab14252963
title: Considerations for Queries with Multiple Datasets
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_dashboards_steps_multidataset.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_dashboards_steps_multidataset.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2819547c88f86ed49017dffc97d215053c3ced54017715bc1d0560549706ffc4
description: When a query has multiple datasets, the query results are formatted using the XMD of the first loaded dataset. If the query is faceted, it receives filters for all of its datasets, but broadcasts selections only from its first loaded dataset.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# Considerations for Queries with Multiple Datasets

When a query has multiple datasets, the query results are formatted using the XMD of the first loaded dataset. If the query is faceted, it receives filters for all of its datasets, but broadcasts selections only from its first loaded dataset.

For more information about formatting results using the XMD, see the Extended Metadata (XMD) Developer Guide.

#### See Also

- [Facet Queries with Multiple Datasets](https://help.salesforce.com/s/articleView?id=analytics.bi_dashboards_steps_multidataset_facet.htm&release=264.0.0&type=5 "You can use a query with multiple datasets in a widget and then facet the query. The query receives filters from all of its datasets, but broadcasts selections from its first loaded dataset.")