4
Most read
7
Most read
Power BI Tips
and Timesavers
When to Transform
Data for Power BI?
SQL or Power Query or DAX
Knowing when to transform data for your Power BI
Reports can help you to decide when to use which
technique
SQL, Power Query or DAX
This guide gives you a steer to make the right choice
When to transform data for Power BI?
Over the last few weeks, we have shown how data can be combined from multiple sources
We have shown that this can be done in a number of ways using three different tools
But which one do you choose and why?
When to transform data for Power BI?
“Data Should be transformed as far upstream as possible, and as far downstream as necessary”
This is called ROCHES MAXIM, by Matthew Roche Principal Program Manager Power BI
Downstream…..Closer to its end destination
Upstream…..Closer to its source
Applying Roches Maxim
“Data Should be transformed as far upstream as possible, and as far downstream as necessary”
In simple terms, using our requirement to combine multiple data sources over the last three examples
We should first look to see if we can do it in SQL using the UNION method
If we can’t, then look to do it within Power Query
And lastly, look to using DAX
Benefits of transforming early
Transformed data can be made available for wider use cases
For example, a fact table in a data warehouse that has already combined multiple data sources can be used by more users
in more use cases
This means that it only needs to be done once, upstream and controls in place there to ensure its complete and accurate
Data is available on a consistent basis for all users
You get all subsequent reports sharing a common data source and really do have….
One version of the truth
Reasons to transform downstream
It's not always possible to perform the transformations upstream
SQL to Power Query
Data could be coming from multiple systems and not from a central data warehouse, it maybe a combination of a SQL
Server database for some parts of the organisation, and a separate Oracle Database for a newly acquired part of the
organisation which is being kept separate
If you had the facility, you could look at creating a simple reporting database to combine these into one, but assuming that
is not an option,
Then you will use the next best option of Power Query to combine these sources using the APPEND functionality
Reasons to transform downstream
Power Query or DAX?
Generally, Power Query is better option as its further upstream as the work is done in the data model itself
The data model as an entity can be shared and made available for wider use
This also means that report building is less complex and easier to maintain
Reasons to transform downstream
Last but not least DAX
If you need to create a measure that is responsive to slicers
For example
You need to create a card that returns aggregated sales from
multiple sources that are not already combined
You can use the DAX UNION function to combine the data you
need
Learn More
You can learn more about Roche’s
Maxim of Data Transformation on
the ssbipolar.com blog
Roche’s Maxim of Data Transformation – BI
Polar (ssbipolar.com)
We have outlined the key reasons why you can combine data in multiple ways for
Power BI
When to use SQL
When to use Power Query
And when you need to use a DAX Measure
For more details of any of these specific techniques please visit our Blog
For more Tips, Tricks and
Timesavers, visit our website
Business Analytics Blog – Select Distinct
Credit: simon.harrison@selectdistinct.co.uk

More Related Content

PDF
Heterogeneous Data - Published
DOC
Dwh faqs
PPTX
Data Lake Overview
PPTX
Power BI 2 data analysis power point file
PDF
What is Scalability and How can affect on overall system performance of database
PDF
Building Self-Service BI WP-7
PDF
Amazon-Redshift-dBT-Best-Practices_paper.pdf
PDF
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)
Heterogeneous Data - Published
Dwh faqs
Data Lake Overview
Power BI 2 data analysis power point file
What is Scalability and How can affect on overall system performance of database
Building Self-Service BI WP-7
Amazon-Redshift-dBT-Best-Practices_paper.pdf
Espresso: LinkedIn's Distributed Data Serving Platform (Paper)

Similar to When to transform data for Power BI.pptx (20)

PDF
Sigmod 2013 - On Brewing Fresh Espresso - LinkedIn's Distributed Data Serving...
PDF
Data Engineering
PPTX
Exploring Microsoft Azure Infrastructures
 
PPT
Managing SQLserver
PPSX
What does Scott do?
PPTX
Power BI data analysis power point file.
PDF
WP_Impetus_2016_Guide_to_Modernize_Your_Enterprise_Data_Warehouse_JRoberts
PPTX
No sql database
PPTX
Managing Large Amounts of Data with Salesforce
PDF
Whitepaper Building Power BI Solutions with Power Query
PPTX
Azure Data.pptx
PPTX
Big data architectures and the data lake
PDF
System Design Interview Questions PDF By ScholarHat
PDF
No SQL databases basics module 1 vtu notes
PPTX
Distributed RDBMS: Data Distribution Policy: Part 3 - Changing Your Data Dist...
PDF
Relational Databases For An Efficient Data Management And...
PDF
DOC Power-Bi-Guidance.pdf
PPTX
Dax & sql in power bi
PDF
Enabling SQL Access to Data Lakes
DOCX
Microsoft Fabric data warehouse by dataplatr
Sigmod 2013 - On Brewing Fresh Espresso - LinkedIn's Distributed Data Serving...
Data Engineering
Exploring Microsoft Azure Infrastructures
 
Managing SQLserver
What does Scott do?
Power BI data analysis power point file.
WP_Impetus_2016_Guide_to_Modernize_Your_Enterprise_Data_Warehouse_JRoberts
No sql database
Managing Large Amounts of Data with Salesforce
Whitepaper Building Power BI Solutions with Power Query
Azure Data.pptx
Big data architectures and the data lake
System Design Interview Questions PDF By ScholarHat
No SQL databases basics module 1 vtu notes
Distributed RDBMS: Data Distribution Policy: Part 3 - Changing Your Data Dist...
Relational Databases For An Efficient Data Management And...
DOC Power-Bi-Guidance.pdf
Dax & sql in power bi
Enabling SQL Access to Data Lakes
Microsoft Fabric data warehouse by dataplatr
Ad

More from Select Distinct Limited (20)

PPTX
Implicit and Explicit Measures in Power BI.pptx
PPTX
What is Microsoft Fabric - a guide by Select Distinct
PPTX
Euro 2024 Predictions - Quarter Final Results.pptx
PPTX
Euro 2024 Predictions - Round of 16 Results.pptx
PPTX
Euro 2024 Predictions - Group Stage Results.pptx
PPTX
Euro 2024 Predictions - Group Stage Outcomes
PPTX
Year on Year Comparison in Power BI.pptx
PPTX
Sync Slicers in Power BI a step by step guide
PPTX
Using Google Search Console Data in Power BI.pptx
PPTX
Data Lake v Data Warehouse. What is the difference?
PPTX
How to Create Drop Down Lists in Excel, step by step
PPTX
Top 5 SQL Tips and Timesaver 2023, our most popular posts
PPTX
Top 5 Power BI tips 2023 most popular blog posts
PPTX
CTEs in SQL.pptx
PPTX
Calculated Columns and Measures in Power BI.pptx
PPTX
Divide by Zero Errors
PPTX
PPTX
Direction of travel on a map in Power BI.pptx
PPTX
PPTX
APPEND data in Power Query
Implicit and Explicit Measures in Power BI.pptx
What is Microsoft Fabric - a guide by Select Distinct
Euro 2024 Predictions - Quarter Final Results.pptx
Euro 2024 Predictions - Round of 16 Results.pptx
Euro 2024 Predictions - Group Stage Results.pptx
Euro 2024 Predictions - Group Stage Outcomes
Year on Year Comparison in Power BI.pptx
Sync Slicers in Power BI a step by step guide
Using Google Search Console Data in Power BI.pptx
Data Lake v Data Warehouse. What is the difference?
How to Create Drop Down Lists in Excel, step by step
Top 5 SQL Tips and Timesaver 2023, our most popular posts
Top 5 Power BI tips 2023 most popular blog posts
CTEs in SQL.pptx
Calculated Columns and Measures in Power BI.pptx
Divide by Zero Errors
Direction of travel on a map in Power BI.pptx
APPEND data in Power Query
Ad

Recently uploaded (20)

PDF
Concepts of Database Management, 10th Edition by Lisa Friedrichsen Test Bank.pdf
PDF
9 FinOps Tools That Simplify Cloud Cost Reporting.pdf
PPTX
Statisticsccdxghbbnhhbvvvvvvvvvv. Dxcvvvhhbdzvbsdvvbbvv ccc
PPTX
ch20 Database System Architecture by Rizvee
PPTX
machinelearningoverview-250809184828-927201d2.pptx
PPTX
Stats annual compiled ipd opd ot br 2024
PDF
General category merit rank list for neet pg
PPTX
PPT for Diseases (1)-2, types of diseases.pptx
PPTX
inbound2857676998455010149.pptxmmmmmmmmm
PDF
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
PPTX
AI AND ML PROPOSAL PRESENTATION MUST.pptx
PPTX
Machine Learning and working of machine Learning
PPTX
DIGITAL DESIGN AND.pptx hhhhhhhhhhhhhhhhh
PPTX
C programming msc chemistry pankaj pandey
PPTX
Introduction to Fundamentals of Data Security
PPTX
Capstone Presentation a.pptx on data sci
PDF
2025-08 San Francisco FinOps Meetup: Tiering, Intelligently.
PPTX
transformers as a tool for understanding advance algorithms in deep learning
PPTX
1 hour to get there before the game is done so you don’t need a car seat for ...
PPTX
inbound6529290805104538764.pptxmmmmmmmmm
Concepts of Database Management, 10th Edition by Lisa Friedrichsen Test Bank.pdf
9 FinOps Tools That Simplify Cloud Cost Reporting.pdf
Statisticsccdxghbbnhhbvvvvvvvvvv. Dxcvvvhhbdzvbsdvvbbvv ccc
ch20 Database System Architecture by Rizvee
machinelearningoverview-250809184828-927201d2.pptx
Stats annual compiled ipd opd ot br 2024
General category merit rank list for neet pg
PPT for Diseases (1)-2, types of diseases.pptx
inbound2857676998455010149.pptxmmmmmmmmm
CS3352FOUNDATION OF DATA SCIENCE _1_MAterial.pdf
AI AND ML PROPOSAL PRESENTATION MUST.pptx
Machine Learning and working of machine Learning
DIGITAL DESIGN AND.pptx hhhhhhhhhhhhhhhhh
C programming msc chemistry pankaj pandey
Introduction to Fundamentals of Data Security
Capstone Presentation a.pptx on data sci
2025-08 San Francisco FinOps Meetup: Tiering, Intelligently.
transformers as a tool for understanding advance algorithms in deep learning
1 hour to get there before the game is done so you don’t need a car seat for ...
inbound6529290805104538764.pptxmmmmmmmmm

When to transform data for Power BI.pptx

  • 1. Power BI Tips and Timesavers When to Transform Data for Power BI? SQL or Power Query or DAX
  • 2. Knowing when to transform data for your Power BI Reports can help you to decide when to use which technique SQL, Power Query or DAX This guide gives you a steer to make the right choice
  • 3. When to transform data for Power BI? Over the last few weeks, we have shown how data can be combined from multiple sources We have shown that this can be done in a number of ways using three different tools But which one do you choose and why?
  • 4. When to transform data for Power BI? “Data Should be transformed as far upstream as possible, and as far downstream as necessary” This is called ROCHES MAXIM, by Matthew Roche Principal Program Manager Power BI Downstream…..Closer to its end destination Upstream…..Closer to its source
  • 5. Applying Roches Maxim “Data Should be transformed as far upstream as possible, and as far downstream as necessary” In simple terms, using our requirement to combine multiple data sources over the last three examples We should first look to see if we can do it in SQL using the UNION method If we can’t, then look to do it within Power Query And lastly, look to using DAX
  • 6. Benefits of transforming early Transformed data can be made available for wider use cases For example, a fact table in a data warehouse that has already combined multiple data sources can be used by more users in more use cases This means that it only needs to be done once, upstream and controls in place there to ensure its complete and accurate Data is available on a consistent basis for all users You get all subsequent reports sharing a common data source and really do have…. One version of the truth
  • 7. Reasons to transform downstream It's not always possible to perform the transformations upstream SQL to Power Query Data could be coming from multiple systems and not from a central data warehouse, it maybe a combination of a SQL Server database for some parts of the organisation, and a separate Oracle Database for a newly acquired part of the organisation which is being kept separate If you had the facility, you could look at creating a simple reporting database to combine these into one, but assuming that is not an option, Then you will use the next best option of Power Query to combine these sources using the APPEND functionality
  • 8. Reasons to transform downstream Power Query or DAX? Generally, Power Query is better option as its further upstream as the work is done in the data model itself The data model as an entity can be shared and made available for wider use This also means that report building is less complex and easier to maintain
  • 9. Reasons to transform downstream Last but not least DAX If you need to create a measure that is responsive to slicers For example You need to create a card that returns aggregated sales from multiple sources that are not already combined You can use the DAX UNION function to combine the data you need
  • 10. Learn More You can learn more about Roche’s Maxim of Data Transformation on the ssbipolar.com blog Roche’s Maxim of Data Transformation – BI Polar (ssbipolar.com)
  • 11. We have outlined the key reasons why you can combine data in multiple ways for Power BI When to use SQL When to use Power Query And when you need to use a DAX Measure For more details of any of these specific techniques please visit our Blog
  • 12. For more Tips, Tricks and Timesavers, visit our website Business Analytics Blog – Select Distinct Credit: [email protected]