Let's Build Your First Campaign Together with our Lead Generation Expert

How to Add Dataset in Power BI

Table of Contents

You opened Power BI. Your data is sitting in Excel, a SQL database, or somewhere in the cloud. But the dashboard is blank.

That one gap — not knowing how to bring data in — is what separates a powerful BI setup from a tool that just collects dust.

Here’s the thing: Power BI is only as good as the data you feed it. And once you understand how to add datasets the right way, every report, dashboard, and insight becomes infinitely more powerful.

In this guide, you’ll learn every major method to add a dataset in Power BI, step-by-step. Whether you’re pulling from a spreadsheet, a live database, or a cloud service, this covers all of it.

By the numbers, here’s why this matters:

  • Power BI has over 250,000 organizations using it worldwide, including 97% of Fortune 500 companies.
  • Microsoft reports that organizations using Power BI see up to 39% faster decision-making compared to teams relying on static reports.
  • 70% of business intelligence failures stem from poor data integration, not poor analysis — meaning if your data isn’t connected properly, your dashboards won’t deliver.

Getting your dataset right is step one. Let’s get into it.

What Is a Dataset in Power BI?

Before jumping into the how, let’s clear up the what.

A dataset in Power BI is a collection of data that you import, connect to, or build — and then use as the foundation for your reports and dashboards. Think of it as the engine under the hood. Your visualizations are just the dashboard display.

Datasets can come from:

  • Files (Excel, CSV, JSON, XML)
  • Databases (SQL Server, MySQL, PostgreSQL)
  • Cloud services (Azure, Google Analytics, Salesforce)
  • Online services (SharePoint, Dynamics 365)
  • Custom dataflows and APIs

Power BI supports over 100 native data connectors, which means you can almost always find a direct path from your data source into your dashboard without workarounds.

The key choice you’ll make with every dataset: Import vs. DirectQuery.

  • Import loads a snapshot of the data into Power BI. Faster performance, but you need to refresh to see updates.
  • DirectQuery connects to the live source every time you interact with the report. Always current, but slightly slower.

For most use cases — especially if your dataset is under a few million rows — Import mode works best. For real-time business tracking, DirectQuery is the better call.

How to Add a Dataset in Power BI

Add Dataset from Excel or CSV

This is the most common starting point. If your data lives in a spreadsheet, here’s how to get it into Power BI in under two minutes.

Steps:

  1. Open Power BI Desktop.
  2. Click Home in the top menu bar.
  3. Select Get DataExcel (or Text/CSV for CSV files).
  4. Navigate to your file and click Open.
  5. In the Navigator window, select the sheet or table you want to import.
  6. Click Load to import immediately, or Transform Data to clean it first in Power Query.

Pro Tip: Format your Excel data as a Table (Ctrl+T) before importing. Power BI reads structured tables more accurately than raw ranges and makes column types easier to detect.

For large Excel files — Power BI handles files up to several hundred MB efficiently, but beyond that, consider migrating to a database source for better performance.

Add Dataset from SQL Database

If your data lives in a SQL Server, MySQL, or PostgreSQL database, this method gives you access to millions of rows with no export needed.

Steps:

  1. In Power BI Desktop, go to Home → Get Data.
  2. Select SQL Server (or your specific database type from the full list).
  3. Enter your Server name and optionally the Database name.
  4. Choose your connection mode: Import or DirectQuery.
  5. Authenticate with your credentials (Windows or database login).
  6. In the Navigator, select the tables or views you need.
  7. Click Load or Transform Data.

Why this matters: Gartner research shows that 87% of data and analytics leaders say data integration is critical to their business outcomes — and SQL databases are still the backbone of most enterprise data stacks. Connecting directly removes the bottleneck of manual exports and stale spreadsheets.

If you’re connecting to MySQL or PostgreSQL, you may need to install the corresponding gateway driver. Power BI will prompt you if so.

Add Dataset from SharePoint

For teams already working in Microsoft 365, SharePoint is often the central storage for Excel files, lists, and reports.

Steps:

  1. Go to Home → Get Data → More.
  2. Search for SharePoint Online List or SharePoint Folder.
  3. Enter your SharePoint site URL (just the base URL, not the full file path).
  4. Sign in with your Microsoft 365 account.
  5. Browse to the list or folder, then select what you want to load.
  6. Click Load or Transform Data.

SharePoint List is ideal for structured data — think project trackers, lead logs, or inventory tables. SharePoint Folder works better if you want to consolidate multiple files stored in one location.

Add Dataset from Cloud Services (Azure, Google Analytics, Salesforce)

Power BI’s native cloud connectors make it straightforward to pull data from the tools your team already uses.

Steps:

  1. Go to Home → Get Data → More.
  2. Use the search bar to find your service (Azure SQL Database, Google Analytics, Salesforce Objects, etc.).
  3. Select the connector and click Connect.
  4. Follow the authentication prompts — typically OAuth for cloud services.
  5. Choose what data to pull in from the service’s data model.
  6. Click Load.

Notable stats here:

  • Salesforce stores data for over 150,000 companies. Connecting it to Power BI lets teams visualize pipeline, revenue, and activity data without exporting CSVs every week.
  • Azure is the native Microsoft cloud platform and offers the most seamless Power BI integration, with features like Azure Synapse Analytics enabling near-instant queries on terabyte-scale datasets.
  • Businesses using cloud-connected BI dashboards report 26% faster revenue growth than those using disconnected or static reporting tools, according to a McKinsey analysis.

Add Dataset from JSON or XML Files

JSON and XML are common formats for API outputs and web data. Power BI handles both natively.

Steps:

  1. Go to Home → Get Data.
  2. Select JSON or XML from the file options.
  3. Navigate to and open your file.
  4. Power Query will automatically parse the structure.
  5. Expand nested columns as needed using the expand icon next to column headers.
  6. Click Close & Apply once your data looks right.

JSON files from APIs often have nested records. Power Query’s Expand and Drill Down features let you flatten these hierarchies into clean columns for reporting.

Add Dataset Using Power BI Dataflows

Dataflows are one of Power BI’s most underused features — and one of the most powerful for teams that want shared, reusable datasets.

What’s a dataflow? It’s a data preparation step done in the Power BI Service (the web version), not in Desktop. You clean and transform the data once, publish it as a dataflow, and then multiple reports can connect to the same clean dataset.

Steps:

  1. Go to app.powerbi.com and log in.
  2. Navigate to your Workspace.
  3. Click New → Dataflow.
  4. Choose your data source (same options as Power BI Desktop).
  5. Use Power Query Online to clean and transform your data.
  6. Save and schedule a refresh.
  7. In Power BI Desktop, go to Get Data → Power BI Dataflows to connect.

Why use dataflows? They eliminate the problem of every analyst building their own version of the “clean” dataset. With dataflows, there’s one source of truth — and everyone reports from it. This is especially important in larger teams where data consistency directly impacts decision quality.

According to Microsoft’s own Power BI documentation, organizations using dataflows see a significant reduction in report development time because the transformation logic is handled once and reused everywhere.

Add Dataset from Power BI Service (Publish from Desktop)

If you’ve already built a dataset in Power BI Desktop, you can publish it to the Power BI Service so teammates can access it, build reports on top of it, or schedule automatic refreshes.

Steps:

  1. In Power BI Desktop, go to Home → Publish.
  2. Sign in to your Microsoft account if prompted.
  3. Choose the Workspace to publish to.
  4. Click Select.
  5. Once published, go to app.powerbi.com and find the dataset in your workspace.
  6. Others can now build reports directly from that shared dataset.

This approach is the foundation of a shared semantic model — a concept where your data model is defined once and reused across many reports. According to Microsoft, this reduces data inconsistency and saves significant report development time across teams.

How to Schedule Dataset Refresh in Power BI

Adding the dataset is step one. Keeping it current is step two.

Power BI allows you to schedule automatic refreshes for imported datasets so your dashboards stay up-to-date without anyone manually re-importing data every morning.

Steps:

  1. In the Power BI Service (app.powerbi.com), find your dataset in your workspace.
  2. Click the three-dot menu → Settings.
  3. Expand the Scheduled Refresh section.
  4. Toggle it on and choose your refresh frequency (up to 8x per day on Pro, 48x per day on Premium).
  5. Set the time zone and the specific refresh times.
  6. Save.

One important requirement: For cloud-based sources, refresh happens automatically. For on-premises data (local SQL servers, files on your PC), you need the Power BI On-Premises Data Gateway installed on a machine that stays connected and running.

Why this matters: Data that’s even 24 hours old can lead to bad decisions. For sales pipelines, operational dashboards, or financial tracking — freshness is everything. Gartner estimates that poor data quality costs organizations an average of $12.9 million per year, and stale data is one of the leading causes.

How to Manage and Clean Datasets with Power Query

Every dataset you add in Power BI goes through Power Query — the built-in transformation engine. Knowing a few Power Query basics will save you hours of cleanup later.

Transformation steps you’ll use most often:

Remove errors and blank rows: In Power Query, go to Home → Remove Rows → Remove Blank Rows or Remove Errors. Dirty data is one of the top reasons dashboards show inaccurate totals.

Change data types: Click the column header’s data type icon (left side of the column name) and assign the correct type — number, text, date, etc. Power BI’s automatic detection is good but not perfect.

Rename columns: Double-click any column header and type the new name. Clean, human-readable column names make your report easier to build and easier for others to understand.

Merge queries: If you have two datasets that share a common column (like a Customer ID), use Home → Merge Queries to join them. This is the Power Query equivalent of a SQL JOIN.

Split columns: If a column contains combined data (like “First Last” in a Name field), use Transform → Split Column to break it apart.

Filter rows: Click the dropdown arrow in any column header to filter for specific values, date ranges, or conditions.

According to an IBM report, 80% of a data analyst’s time is spent finding, cleaning, and organizing data — with only 20% going toward actual analysis. Getting comfortable in Power Query flips that ratio dramatically.

Common Errors When Adding Datasets (and How to Fix Them)

“Data source credentials” error This appears when Power BI can’t authenticate with your data source. Go to File → Options → Data Source Settings and update or clear the credentials, then reconnect.

“Query timeout” error Happens with slow or large databases, especially in DirectQuery mode. Try adding filters in Power Query to reduce the data volume, or switch to Import mode.

“This content is not available” when publishing Usually a workspace permission issue. Ask your Power BI admin to confirm you have Contributor access to the workspace.

Refresh fails on scheduled dataset Most often caused by a gateway issue. If you’re using on-premises data, confirm the gateway is running and connected. For cloud sources, verify that credentials haven’t expired.

Column data types change after refresh This can happen if the source data structure changes. Lock your column types manually in Power Query by adding a Change Type step so Power BI applies your type definitions consistently on every refresh.

 

Tips for Keeping Your Power BI Datasets Performant

Adding the dataset is just the beginning. Here’s how to keep things running fast and clean as your reports scale.

Use Import mode for most datasets. Unless you specifically need real-time data, Import is faster and more reliable. Power BI loads the data into its in-memory engine (VertiPaq), which is optimized for DAX calculations and interactive filtering.

Limit the columns you import. Only pull in the columns your reports actually use. Every extra column adds memory load and slows refresh times. In Power Query, right-click unused columns → Remove.

Create relationships in the model view. If you’re pulling from multiple tables, define your relationships in the Model View tab. This is how Power BI knows how tables connect to each other and allows you to build cross-table calculations.

Use aggregation tables for large datasets. If you’re working with datasets over 10 million rows, consider creating a pre-aggregated summary table (e.g., sales by month) and using that for most visuals, reserving the full table for drill-through only. This dramatically improves dashboard load speed.

Document your datasets. Add descriptions to columns and tables in the Properties pane within Model View. If someone else needs to build reports on your dataset, this context saves them hours of guesswork.

Set row-level security (RLS) early. If different users should see different subsets of data — for example, a regional manager only seeing their region — configure RLS in the Model View before publishing. It’s much easier to set up upfront than to retrofit later.

Power BI Dataset Statistics Worth Knowing

Understanding the scale and context of Power BI helps you benchmark how you’re using it.

  • Power BI has more than 250,000 organizations as active customers globally.
  • 97% of Fortune 500 companies use Power BI as part of their Microsoft 365 or Azure stack.
  • The global business intelligence market is projected to reach $43.03 billion by 2028, growing at a CAGR of 8.7%.
  • Microsoft Power BI consistently ranks in the top 2 of Gartner’s Magic Quadrant for Analytics and Business Intelligence Platforms.
  • Organizations that invest in BI and analytics tools are 5x more likely to make faster decisions than their competitors, according to a study by BARC Research.
  • Poor data quality costs U.S. businesses an estimated $3.1 trillion annually, according to IBM — making proper dataset management not just a technical task but a financial priority.
  • 70% of BI projects fail not because of the tools but due to data preparation and integration challenges — exactly what this guide addresses.
  • Datasets connected to live cloud sources refresh on average 48% more reliably than manually updated static files, based on Microsoft Power BI internal benchmarks.
  • Teams using shared semantic models (published datasets) in Power BI report up to 40% faster report creation compared to teams building isolated datasets for every report.

Conclusion

Adding a dataset in Power BI is the foundation that everything else is built on. Get it right — using the right source, the right connection mode, and the right transformation logic — and your dashboards become genuinely useful decision-making tools.

Here’s a quick recap of everything covered:

  • Pull from Excel, CSV, JSON, or XML for file-based data
  • Connect directly to SQL databases for live or large-scale data
  • Use SharePoint for Microsoft 365 team data
  • Tap into cloud connectors like Azure, Salesforce, and Google Analytics
  • Build dataflows for team-wide shared datasets
  • Publish from Desktop to the Service for shared access and scheduled refresh
  • Use Power Query to clean, shape, and document your data before it hits your reports

The organizations getting the most from Power BI aren’t necessarily the ones with the most complex dashboards — they’re the ones with clean, well-connected, consistently refreshed datasets underneath.

Start with the right data. The insights follow naturally.

📊 Struggling to Fill Your Pipeline?

We build outbound systems that book 15–25 qualified meetings a month — across LinkedIn, cold email, and cold calling.

7-day Free Trial |No Credit Card Needed.

FAQs

What is the difference between a dataset and a dataflow in Power BI?

A dataset is the final data model that powers your reports and dashboards in Power BI. A dataflow is a cloud-based preparation step where you clean and transform raw data before it becomes a dataset. Think of a dataflow as the ingredient prep, and the dataset as the finished dish your reports consume.

Can I connect multiple data sources in a single dataset?

Yes. Power BI lets you pull from multiple sources in the same dataset — combine an Excel file with a SQL table, for example — and then relate them in the Model View. This is one of Power BI's most powerful features for cross-functional reporting.

How often can I refresh a Power BI dataset?

On Power BI Pro, you can schedule up to 8 refreshes per day (every 3 hours). On Power BI Premium, this increases to 48 refreshes per day (every 30 minutes). For near-real-time needs, DirectQuery or streaming datasets remove the refresh dependency entirely.

How do I find qualified leads while managing complex reporting tools like Power BI?

Most teams get so deep in dashboards and data management that outbound lead generation falls to the bottom of the list — or gets done inconsistently. That's exactly where Salesso helps. We build complete outbound systems across LinkedIn, cold email, and cold calling using precise targeting, proven campaign design, and scaling methods that consistently deliver 15–25 qualified meetings per month. Book a strategy meeting to see how it works →

We deliver 100–400+ qualified appointments in a year through tailored omnichannel strategies

What to Build a High-Converting B2B Sales Funnel from Scratch

Lead Generation Agency

Build a Full Lead Generation Engine in Just 30 Days Guaranteed