Part 4 - Data Migration using Power Platform Dataflows
1. What is a Dataflow?
===> A Dataflow is like a cleaning machine for your data.
===> It helps you:
===> In simple way we can define Dataflow is a tool that connects to messy data, cleans it, and stores it in a clean format for use in apps and reports.
Dataflows Bring Data In — not push it out
Example:
==> Imagine you're running a hotel.
You have:
==> But all this data is scattered and messy.
A Dataflow helps you:
✅ Connect to all these files
✅ Clean the data (e.g., remove blanks, correct dates)
✅ Combine them into one clean table
✅ Save the clean data in one place (like Dataverse)
2. Why Use Dataflows?
===> Imagine you have data in an Excel file (like customer info), and you want to:
===> Instead of copying and pasting it manually every time, you use Dataflows to:
👉Dataflows save you time and effort.
3. When Should You Use Dataflows?
==> Use a dataflow when:
👉Dataflows Bring Data In — not push it out
4. Where Can You Use Dataflows?
===> You can use dataflows in:
Important Note:
👉 You Can bring data into Microsoft tools (like Power BI or Dataverse).
👉 You Cannot send data out to external systems.
👉 Dataflows is One-Way Import-Only.
Real Time Scenario:
Importing and Transforming Sales Data from SQL Server into Dataverse for a Power Apps Sales Dashboard.
Overview:
You work in a company that stores sales records in a SQL Server database. The management wants a Power Apps dashboard to view and analyze this sales data (monthly sales, top-selling products, etc.)
Problem:
Here the problem is:
Our Goal is :
👉 Connect to SQL Server
👉 Clean/transform the data
👉 Load into Dataverse
👉 Refresh daily
👉 Use it in a Power Apps app or dashboard
Step 1: Open Power Apps and Go to Dataflows
Step 2: Connect to SQL Server
Step 3: Select the Table You Want
It might have columns like below:
SaleID ProductName Quantity SaleDate StoreCode UpdatedBy Notes
We only need:
Click Transform Data
Step 4: Clean and Transform Using Power Query
Now you are inside Power Query Editor. Let’s clean the data:
1. Remove unwanted columns:
Right-click on SaleID, StoreCode, UpdatedBy, Notes
Click Remove Columns
2. Trim and clean text:
Click on the ProductName column
Go to Transform → Format → Trim (removes spaces)
Then click Format → Capitalize Each Word
3. Convert SaleDate format:
Select the SaleDate column
Change type to Date/Time
4. Filter out empty rows:
Click dropdown on ProductName
Uncheck (blank) rows
Once done, click Next
Step 5: Load Data Into Dataverse
ProductName → Single Line of Text
Quantity → Whole Number
SaleDate → Date and Time
Click Next
Step 6: Schedule Automatic Refresh
Frequency: Daily
Time: 2:00 AM
Choose credentials to connect again to SQL
Click Create
Step 7: Use the Data in Power Apps or Power BI
Now you can:
OR
What Happens Every Day Now?
At 2:00 AM daily, the dataflow will:
👉No manual work needed
Benefits of This Dataflow:
Difference between Data Wizard vs CMT vs Data flows
✅ Done, we have successfully Transformed data using Dataflows, Follow the same steps and try from your end.
Have a Nice Day!