Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Expert Data Modeling with Power BI - Second Edition

You're reading from  Expert Data Modeling with Power BI - Second Edition

Product type Book
Published in Apr 2023
Publisher Packt
ISBN-13 9781803246246
Pages 698 pages
Edition 2nd Edition
Languages
Author (1):
Soheil Bakhshi Soheil Bakhshi
Profile icon Soheil Bakhshi

Table of Contents (22) Chapters

Preface Section I: Data Modeling in Power BI
Introduction to Data Modeling in Power BI Data Analysis eXpressions and Data Modeling Section II: Data Preparation in Query Editor
Data Preparation in Power Query Editor Getting Data from Various Sources Common Data Preparation Steps Star Schema Preparation in Power Query Editor Data Preparation Common Best Practices Section III: Data Modeling
Data Modeling Components Star Schema and Data Modeling Common Best Practices Section IV: Advanced Data Modeling
Advanced Data Modeling Techniques Row-Level and Object-Level Security Dealing with More Advanced Data Warehousing Concepts in Power BI Introduction to Dataflows DirectQuery Connections to Power BI Datasets and Analysis Services in Composite Models New Options, Features, and DAX Functions Other Books You May Enjoy
Index

Appending queries

There are some scenarios where we get the data with the same structure from different sources, and we want to consolidate it into a single table. In those cases, we need to append the queries. We have two options to append the queries:

  • Append the queries to the first query
  • Append the queries as a new query

The latter is prevalent when we follow ETL best practices. We unload all the queries, append them as a new query, and load the new query into the data model. Therefore, the unloaded queries work as ETL pipelines. However, it does not mean that the first option is not applicable.

Suppose we have a simple business requirement that can be achieved by appending two or more queries to the first query. In that case, use the first option instead. The critical point to note when we append queries is that the Table.Combine(tables as list, optional columns as any) function accepts a list of tables. If the column names in the tables are the same...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}