Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Dataflow Gen2 provides several ways to connect to and get your data. You can browse data sources by category, find Fabric items in the OneLake catalog, return to recently used items, reuse shared queries, upload files, or use Copilot to ingest and transform data with natural language commands.
Prerequisites
Before you begin, make sure you have the following setup:
- A Microsoft Fabric tenant account with an active subscription. Create a free account.
- A Microsoft Fabric enabled workspace.
- A Dataflow Gen2 item, or permissions to create one.
For Copilot features, you also need:
- A subscription that's at least an F2 or P1 capacity SKU: Fabric Copilot Capacity.
Get data for Dataflow Gen2
Dataflow Gen2 supports a wide range of connectors for databases, files, online services, and more. For the full list of supported connectors and their capabilities in Dataflow Gen2, pipelines, and Copy job, see the Connector overview.
To get data in a dataflow, select the Get data icon from the Home ribbon. Select the dropdown to select a specific source, or select the icon or the More option to see all connection options.
For Dataflow Gen2 the connection options include:
Home:
The Home module brings together shortcuts to sources and other connection options. Start here when you want to choose a source without first browsing the full connector list.
Select a source shortcut to begin its connection workflow. If a section offers View more, select it to open that section's full module. The sections and shortcuts available depend on the host. The preceding screenshot illustrates one version of the experience.
Home provides shortcuts, not additional permissions. You still need access to the source and any credentials required to connect.
When to use Home
Start with Home when you know where your data is stored but haven't chosen a connection yet, or when you want to return to a source you used before.
Your goal Where to start Connect to a new database, file, or service Select a connector under New sources. If it isn't shown, select View more to open the full connector list. Return to a source you recently used Look in the Recent section. Select View more to browse additional recent items. Find an existing Fabric data item Browse the OneLake catalog section, or select View more to open the catalog module. Upload a local file Open the Upload module from the left navigation bar. Start without an external data source Open Blank table or Blank query from the left navigation bar. Connect to a new source
- In the get data experience, select Home.
- Under New sources, select the connector for your data. For example, select SQL Server database to connect to a SQL Server database.
- If you don't see the connector, select View more beside New sources. In the New data source module, search for the connector or browse its category.
- Enter the connection settings and credentials required by the connector, and then continue to select your data.
Selecting a connector opens its connection experience; it doesn't immediately import data. For the fields required by a particular source, go to Connectors in Power Query.
Return to recent data or browse the catalog
The Recent section is useful when you want to reconnect without starting from the connector list. If it shows No recent data sources found, use New sources to establish a connection first.
For recently used data items, favorites, and your personal query library, open Recents & My Queries rather than expecting every item to appear in the Home summary.
The OneLake catalog section is useful when the data already exists as a Fabric item that you can access. Select View more to explore the OneLake catalog module.
Copilot:
Copilot in the get data experience for Dataflow Gen2 helps you ingest and transform data with natural language commands. You can get help finding the right data and applying transformations without leaving the get data experience.
- Easily ingest data from your recently used tables by choosing from the recent tables list.
- Chat with your data to apply transformations to find the data you want.
For more information, see Chat with Copilot in the get data experience.
New:
Use the New module to find a connector for a database, file, or service. Start here when you know the kind of source you want to use.
Search for a connector by name across categories, or select a category to browse its connectors. Select a connector to open its connection settings.
The available connectors and required connection fields depend on the host and source. Selecting a connector starts a connection workflow; it doesn't immediately load data to a destination.
Find and connect to your source
After you choose a connector in New, configure its Power Query connection:
- Enter the source details, such as a server address or file URL. Choose an existing connection or provide the credentials needed to create one. Select a gateway if the source requires it.
- Continue to the source's preview or navigator, select the data you need, and open it in the Power Query editor.
The required fields and navigation steps depend on the connector. Use the connector documentation for exact instructions. For example, the OData connector takes a service URL, while the SQL Server connector takes a server name and optional database.
After you select the data, you can transform it in the Power Query editor and configure the load behavior supported by your product.
Choose another starting point when appropriate
If the data is an existing Fabric item, use the OneLake catalog to find it by its catalog context instead of entering connection details. To return to an item you used before, use Recents & My Queries.
If you can't find a connector, check whether your product supports it in Connectors in Power Query. Connector availability differs across Power Query products.
Recents & My Queries:
The Recents & My Queries module in Dataflow Gen2 brings together recently used data items, favorites, and your personal library of saved Power Query queries. Use it to return to a table, folder, or other item you used before, or to reuse query logic without starting from the connector list.
The source names, workspace names, and private addresses in these screenshots have been replaced with fictional examples.
Choose a view
Use the controls above the list to choose which items to display.
View When to use it All Browse the combined list when you aren't sure which category contains an item. Recent Return to recently used items. Queries saved to My Queries also appear in recent items. My Queries Browse query scripts you saved to your personal library for reuse across dataflows. Favorites Find items you marked as favorites. The list shows each item's Name, Source type, Location, and Last used information. Use Search to find an item, or open Filter to see the available filtering options.
Connect to a recent item
- Open Get data, and then select Recents & My Queries.
- Select Recent, or use All to browse the combined list.
- Locate the item by its name, source type, or location.
- Open the item's ellipsis (...) menu and select Connect.
- Complete any connection or authentication steps required by the source.
Recent items can include tables, sheets, databases, schemas, folders, views, and functions from supported sources. Connecting to a recent item brings it into the editor; it doesn't copy another dataflow's entire definition or destination settings.
Browse neighboring tables or files
Use Browse location when you want data near a recent item rather than that exact item. For example, return to a database location to choose another table, or a folder to choose another file.
- Select Browse location on the recent item's row.
- Review the other items available in that location.
- Select the items you need. Each selected item creates a query in the Power Query editor.
For supported recent-item types and the ribbon's separate Recent data entry point, see Use recent data in Dataflow Gen2.
Use item actions
Hover over a row to see its available actions. The following example shows the Browse location icon, the star icon for favorites, and the ellipsis menu.
Action Purpose Browse location Open the item's source location to browse for data there. Use this action when you want to explore the location rather than reconnect directly to the listed item. Favorite Mark an item so you can find it in the Favorites view. Use the row's star icon or the Favorite menu command. Connect Start connecting to the selected item. Remove from recent Remove an entry from the recent list. This action doesn't delete the underlying source data or delete a saved query from My Queries. Copy path to clipboard Copy the item's path so you can paste it elsewhere. Available actions depend on the item. The following menu shows the actions for an OData entry.
Keep frequently used items in Favorites
Use favorites when you repeatedly return to the same sources and don't want to locate them in a longer recent list.
- Find the item in All or Recent.
- Hover over the row and select the star icon, or open its ellipsis menu and select Favorite.
- Select Favorites above the list to find your favorited items.
- Use the item's available actions to connect to it or browse its location.
Favoriting an item doesn't grant access to its data. You still need the source permissions and credentials required to connect.
If a recent item no longer connects
Confirm that you can still access the source, and check whether the item was moved or renamed. A recent-list entry isn't a copy of the source data. If needed, browse the location again or create a connection through New data source.
Save and reuse personal queries
My Queries is your personal library of query logic. It isn't the list of queries shared by other authors, and marking a source as a favorite doesn't save its query script to My Queries.
To save or import personal queries, open a Dataflow Gen2 that you can edit.
Add a query to My Queries
- In the Power Query editor, right-click the query in the Queries pane.
- Select Add to My Queries.
- Wait for the notification confirming that the query was saved. The notification identifies the name used in your personal library.
If a saved query already has that name, Power Query appends a numeric value to create a unique name.
Import a query from My Queries
- Open Get data, and then select Recents & My Queries.
- Select the My Queries filter.
- Select a saved query to import its M code into your current dataflow.
- Configure any required connections and data destinations.
Note
My Queries saves only the query's M code, not its credentials, query attributes, or data destination settings. Saving a query to My Queries doesn't share it with other people.
Personal library considerations
- The My Queries view shows only the latest 50 queries, ordered by last-used timestamp from newest to oldest.
- You can't delete saved queries from the My Queries view. Remove from recent isn't a personal-library delete command.
- Queries saved to My Queries also appear in recent items.
- The first time you save a query, a folder named My Queries is created in My workspace. Dataflow Gen2 items in that folder store your saved queries.
To browse queries shared by other authors, use the separate Shared Query module.
To enable sharing for a query or provide a link to its results, see Share queries with other people in Dataflow Gen2.
For more information, see Use recent data in Dataflow Gen2.
To browse your personal query library, select the My Queries filter within this module. For instructions, see Import a query from My queries.
OneLake catalog:
The OneLake catalog module helps you find existing Fabric data items, such as lakehouses and databases, and review their context before connecting. You can also access the catalog through integrations outside the Fabric application.
Use Search, the available views, or Filter to narrow the list. To distinguish items with similar names, review the item's type, owner, location, and available endorsement or sensitivity information. Controls and supported item types can vary by host.
Catalog visibility, favorites, and endorsement don't grant data access. You still need the permissions and any credentials required to read the selected source.
When to use the OneLake catalog
Your goal How the catalog helps Reuse data your organization already prepares Find an existing item rather than creating another connection to the original operational source. Find a recommended source among similarly named items Use Endorsed in your org and review the item's endorsement, owner, and location. Return to data you own or use regularly Start with My data or Favorites instead of searching the full list. Identify the right item before connecting Compare its type, owner, location, refresh information, and sensitivity label where available. For example, if your team maintains a sales lakehouse, search for that item, confirm its workspace and owner, and continue to select the data you need. You don't need to begin by finding the lakehouse's connection details.
Find an item
- Open Get data, and then select OneLake catalog.
- Use Search to find an item by name.
- Narrow the list with the available views or Filter.
- Review the matching items before choosing a source.
The catalog offers the following views, as shown in the preceding screenshot:
View Purpose All Browse the available catalog items. My data Focus on items you own. Endorsed in your org Find items with an endorsement, such as promoted or certified items. Favorites Return to items you marked as favorites. The controls, supported item types, and available actions can vary by the product hosting the get data experience. This guide describes the embedded module, not every feature of the full OneLake catalog.
Use metadata to choose your source
An item's name alone might not tell you whether it's the right source. Use the list's metadata to compare candidates.
Column What to consider Name Does the item match the dataset or business subject you need? Type Is it the kind of source you expect, such as a lakehouse or SQL database? Owner Who maintains the item? Use this context to distinguish items with similar names. Refreshed Where available, does the reported refresh time meet your needs? A blank value doesn't establish whether the data is current. Location Is the item in the expected workspace? Endorsement Has the item been promoted or certified? Treat endorsement as a signal to review, not a guarantee that the data meets every requirement. Sensitivity Does the item carry a sensitivity label that affects how you should handle its data? For example, two lakehouses might both contain sales data. Their workspace, owner, and endorsement can help you identify the maintained source rather than a personal test copy. Confirm that its contents and update schedule match your use case before relying on it.
Connect to the data you find
- Select the item you want to use.
- Follow the connection and navigation steps offered for that item type.
- If the source offers a navigator, select the tables or other objects you need and review their previews.
- Continue into the Power Query editor to prepare the selected data.
The catalog helps you discover the source; the item's type determines the remaining connection experience. Selecting an item doesn't guarantee that every table or object it contains is accessible to you. It also doesn't load data into a final destination: review and prepare the selected data before saving or loading it through your host.
If you can't find an expected item, check the search text and active filters, confirm the workspace with the item's owner, and verify your access. If you find an item but can't read its data, resolve its source permissions or connection requirements rather than assuming catalog visibility is sufficient.
Choose between the catalog and other modules
Use OneLake catalog when you're looking for an existing Fabric data item. Use New data source when you need to select a connector and configure a source directly, such as an external database or service.
Use Recents & My Queries to return to recently used sources or reuse your saved M scripts. Use the shared-query browsing experience when you want to import query logic shared by another author rather than discover a data item.
For broader catalog capabilities, including the full Explore, Govern, and Secure experiences, go to OneLake catalog overview. For details about discovery and item metadata in the full catalog, go to Discover and explore Fabric items.
Azure:
Select the tab that matches the Azure browser you see. The Preview experience uses a flat resource list and contextual fields. The Legacy experience uses subscription and resource-group selectors.
The Azure module lets you browse Azure resources and navigate to the data you need without first locating its connection address. Start with the flat Resources list, then open a resource to explore its available connection options or contents.
Resource groups appear alongside the other items in the flat list rather than requiring you to follow a subscription-to-resource-group hierarchy first. Use the contextual columns to identify the resource you want. At the Resources level, the illustrated columns are Name, Type, Location, Resource group, and Subscription ID.
Use Filter to narrow the list by the fields available at the current location, including Subscription ID at the resource level. Use Search to find items at the current level and the refresh icon to reload that location's items. Search doesn't recursively explore the contents of every resource.
Use a row's navigation arrow, or double-click a navigable item, to browse further. The breadcrumb updates as you navigate; select an earlier breadcrumb location to return to it. The columns and filter fields change with the current context. For example, opening a storage account shows connection options with Name and Type columns, rather than the resource-level subscription columns.
Selecting an item's checkbox chooses it for the next step; opening it with the navigation arrow or a double-click changes the browsing location. Finding a resource doesn't grant permission to read its data. Its type determines the remaining connection steps and required authentication or network access.
When to browse Azure
Use the browser when you know the resource name, subscription, or resource group but don't want to start by entering a server address or storage URL. For example, filter to your analytics resource group to find a storage account, or open a database server to choose a database.
You need access to the Azure resource and permission to read the selected data. The browser doesn't replace connector authentication or network requirements.
Find resources with search and filters
- Open Get data and select Azure.
- In Resources, identify the item by its name and contextual columns. Use Subscription ID and Resource group to distinguish similarly named resources.
- Open Filter and expand the field you want to filter. At this level, you can filter by Name, Type, Location, Resource group, or Subscription ID.
- Select the filter values you need. Use Clear all to remove applied filters.
For example, expand Resource group, search its values for
analytics, and select rg-analytics-test to narrow the list to that group.Alternatively, use the main Search box to find items at the current location. For example, search for
contosoin Resources to find matching resource names.Search within a filter's value list helps you find a filter value. It isn't the same as the main search box. Neither search is a recursive search through the contents of every resource.
Navigate and select what to connect to
- Open the resource you want to explore. Use its navigation arrow or double-click a navigable item.
- Follow the available connection options or contents. The breadcrumb above the list updates to show the current location.
- Select the checkbox for the item you want to connect to, then select Next when available.
- Complete the connector's connection and authentication steps, then select and preview the data it exposes.
You can also select a resource from the initial list and select Next when available to continue its connection workflow. Browsing into the resource instead lets you inspect its contents or choose among its connection options first.
Choose a storage connection option
Opening a storage account can show different connector options. The following example shows AzureDataLakeStorage and AzureBlobs under Resources > datalakecentral, with AzureBlobs selected.
Not every option is available for every resource. For example, AzureDataLakeStorage can be disabled because the storage account doesn't have hierarchical namespace enabled. Inspect the disabled option's explanation and choose an available connector that's appropriate for the data you need.
Select a database
The contents depend on the resource type. For example, opening a PostgreSQL server displays databases rather than storage connector choices. Select the database you need, then select Next.
The contextual list now shows Name and Type. Resource-level fields such as Subscription ID aren't repeated at every browsing level.
Work with files and folders
When the selected connector offers file or folder browsing, use the same distinction between navigating and selecting: open a folder to change location, or select its checkbox to connect to that folder.
At a file or folder location where Next is available without an item selection, leave items unselected to connect to the current breadcrumb location. For a file-list query, review and filter the returned files before using Combine files in the editor.
The Azure browser doesn't provide Exclude subfolders. That checkbox belongs to the SharePoint browser. Don't assume Azure folder queries exclude subfolders; use the selected connector's documented behavior and filter the resulting file list to the scope you need.
Preview the selected file
After you select a file and continue, the next experience depends on the selected item's type. For example, a JSON file can open a table preview, while an Excel workbook can open a Navigator where you select the sheets, tables, or other workbook items you want to connect to.
Review the preview or select the required workbook items before continuing. Selecting a workbook file doesn't necessarily mean connecting to every item in that workbook.
Refresh or return to another location
Select the refresh icon at the upper right of the list to reload the current location. Use the breadcrumb to return to an earlier level, then search or filter the fields offered there.
If an expected item isn't shown, check the search text, active filters, and your access. If an option is disabled, inspect its explanation rather than treating it as a selectable connection.
Finish connecting in Power Query
For the source settings and supported authentication methods, use the connector documentation. A database connector and a storage connector don't have interchangeable connection fields. After connecting, review the selected data in the Power Query editor before configuring its destination.
If you know the source address and want to configure its connector directly, use New data source. If you're looking for a Fabric data item rather than an Azure resource, use OneLake catalog.
Upload:
The Upload module brings a file from your computer into Power Query Online. Use it when you have a local file to work with rather than an existing online file URL or database connection.
Upload and connect to a file
- In Get data, select Upload.
- Drag a supported file into the upload area, or select Browse and choose the file on your computer.
- Complete the connector-specific settings that follow. Wait for the upload to finish, and sign in with an organizational account when required.
- Continue through the file's connection and preview experience, and review the resulting query.
The upload feature supports Excel, JSON, PDF, Text/CSV, and XML files through their corresponding connectors. For the supported filename extensions, authentication steps, and upload status messages, go to Upload a file.
Where the file is stored
Uploaded files are stored in your OneDrive for work or school account. The result is a query that reads the uploaded file, not a connection to the original path on your computer. Don't assume that editing the original local file updates the uploaded file.
If your file already resides in SharePoint or OneDrive for work or school, consider connecting to the existing online file rather than uploading another copy.
You can also start an upload by dropping a file onto the editor's diagram view or queries pane. For that separate entry point, go to Drag and drop experience in the query editor.
Blank table:
The Blank table module lets you enter or paste data to create a table without connecting to an external source. Use it for a small lookup table, a list of categories, or sample values that you want to transform with other queries.
Enter a table
- In Get data, select Blank table.
- Type values into the grid or paste tabular data.
- If your first row contains column names, select Use first row as headers. Check that a data row isn't used as the header by mistake.
- Enter a meaningful Name for the table.
- Select Next to continue into the Power Query editor.
For example, enter a table with RegionCode and RegionName columns to map short codes to readable names. In the editor, review the column types before using the table in a merge.
Choose entered data or an external source
The values you enter are part of the query definition, not a connection to the place you copied them from. Pasting values from a workbook doesn't establish a refreshable link to that workbook.
If the values should be read again from a file or service during refresh, use the appropriate connector. If you want to generate a table with an M expression rather than use a grid, use Blank query.
Blank query:
The Blank query module lets you create a query by writing or pasting a Power Query M expression. Use it when you already have query code, need a custom expression, or want to generate data without starting from a connector dialog.
Start with an M expression
- In Get data, select Blank query.
- Write or paste your M expression into the script editor.
- If your host provides a Data gateway dropdown, choose the appropriate execution context as described in the next section.
- Select Next and review the query result.
For a self-contained example, paste this expression:
let Source = #table( type table [Product = text, Quantity = number], { {"Notebook", 10}, {"Pen", 25} } ) in SourceThis expression defines a two-row table with Product and Quantity columns. It doesn't connect to a live source. For the language syntax, go to Expressions, values, and let expression and #table.
When you copy code from another query, review references to other queries and parameters. A script that depends on a query or parameter that's not present in the current project isn't self-contained. Code that accesses a source still needs that source's permissions and credentials; pasting M code doesn't supply them.
Choose the gateway execution context
In hosts that support data gateways, a Data gateway dropdown appears below the script editor. Use it to choose the gateway context in which to run your query.
For example, if your script accesses a source that requires a gateway, choose the appropriate gateway before continuing. The gateway dropdown doesn't appear in every host.
For information about how gateways and credentials participate in a connection, see Connections and authentication in Power Query Online.
Shared queries (preview):
The Shared queries module is currently in preview. It's separate from Recents & My Queries, not another filter within it. Browse your accessible workspaces, folders, and subfolders to find dataflows with sharing enabled. Select shared queries to import them as independent copies into the dataflow you're authoring. For step-by-step instructions, see Browse and import shared queries.
The modules that appear can vary based on the product experience and connector. For more information about the shared Power Query interface, see Get data modules in Power Query Online.
Connect to a data source
To get data in Data Factory:
On the left side of Data Factory, select Workspaces.
From your Data Factory workspace, select New > then select your data factory item: a dataflow, pipeline, copy job, or mirroring job.
In Power Query, either select Get data in the ribbon or select Get data from another source in the current view.
In the Choose data source page, use Search to search for the name of the connector, or select View more to the right of the connector list to see all the connectors available in Data Factory.
If you choose to view more connectors, you can still use Search to search for the name of the connector, or choose a category to see a list of connectors associated with that category.
After you select a connector, follow the connector-specific instructions to authenticate and choose the tables, files, or other items you want to load into your dataflow.
Instructions and requirements differ for each connector. For instructions for your connector, select your connector from the Connector overview.
Chat with Copilot in the get data experience
In Fabric Dataflow Gen2, select Get data to begin. In the Get data wizard, select the Copilot tab, and then start with the list of recently used tables. You can either choose the recently used tables in the get started module or choose recent tables from Choose context in the chat box.
After loading the recently used table, chat with Copilot to find the data you want. For step-by-step exploration, you want to first group by the data on customers' titles to check the results. Then, depending on the range of the counts, decide which ranges to include.
When selecting table columns, use @ to quickly view available columns. Then enter the letter to filter on detail column.
If you know all the operations you want to do at the beginning, describe them in one sentence. Then Copilot can quickly understand it and provide the filtered results to you.
To return to the previous step, select the Restore button next to it and your data reverts to that point. You can also copy the preview data to confirm with your colleagues before saving it into Dataflow Gen2.
Use recent data in Dataflow Gen2
Important
Recent data is currently in preview for Dataflow Gen2.
The Recent filter in the Recents & My Queries module provides quick access to data items that you used previously in Dataflow Gen2. You can return to tables, folders, databases, sheets, and other supported items without navigating through connection dialogs and folder structures again.
Items that support recent data
Recent data tracks the following types of data items:
- Table: A table from a database or other data source.
- Sheet: A worksheet from an Excel file.
- Database: A database instance from a supported data source.
- Schema: A database schema that contains related tables.
- Folder: A folder that contains files or other data items, including a folder in a Fabric lakehouse.
- View: A database view that presents data from one or more tables.
- Function: A custom or built-in function from a data source.
When you access a supported item in Dataflow Gen2, the item can appear in your recent data list in future sessions.
Access recent data from the Power Query ribbon
Use the Power Query ribbon to return directly to a recently used item.
- In your Fabric workspace, open an existing Dataflow Gen2 item or create one.
- In the Power Query editor, select Recent data from the ribbon.
- Review the recently used items from your previous dataflow sessions.
- Select an item to load it into the Power Query editor.
Access recent data from the get data experience
Use the get data experience when you add a data source to your dataflow.
In your Fabric workspace, open an existing Dataflow Gen2 item or create one.
In the Power Query editor, select Get data.
In the Get data dialog, select the Recents & My Queries module.
Select the Recent filter.
Review the recently used items from your previous dataflow sessions.
Select an item to load it into the Power Query editor.
The following screenshot shows an earlier Get data layout with Recent data.
Browse related items
Use Browse location to explore other items in the same folder or database as a recent item.
- Select Browse location for an item in the recent data list.
- Review the other tables, files, or items available at the same location.
- Select the items to include in your dataflow. Each selected item creates a query in the Power Query editor.
- Apply transformations, merge queries, or configure your dataflow as needed.