Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Microsoft Power BI Quick Start Guide - Third Edition

You're reading from  Microsoft Power BI Quick Start Guide - Third Edition

Product type Book
Published in Nov 2022
Publisher Packt
ISBN-13 9781804613498
Pages 330 pages
Edition 3rd Edition
Languages
Authors (4):
Devin Knight Devin Knight
Profile icon Devin Knight
Erin Ostrowsky Erin Ostrowsky
Profile icon Erin Ostrowsky
Mitchell Pearson Mitchell Pearson
Profile icon Mitchell Pearson
Bradley Schacht Bradley Schacht
Profile icon Bradley Schacht
View More author details

Table of Contents (13) Chapters

Preface 1. Gaining Data Literacy with Power BI 2. Connecting to Data 3. Data Transformation Strategies 4. Building the Data Model 5. Leveraging DAX 6. Visualizing Data 7. Digital Storytelling with Power BI 8. Using a Cloud Deployment with the Power BI Service 9. Data Cleansing in the Cloud with Dataflows 10. On-Premises Solutions with Power BI Report Server 11. Other Books You May Enjoy
12. Index

Role-playing tables with DAX

In Chapter 4Building the Data Model, you learned how to develop your data model to deal with role-playing tables, by importing a table multiple times. We mentioned then that there was an alternative method using DAX. In this section, we will explore this alternative method and the pros and cons of using DAX versus the method you have previously learned.

Since leveraging DAX does not require importing a table multiple times, you will immediately gain savings on storage and, unlike the other method, with DAX you will not need to manage multiple tables in Power BI Desktop.

The DAX method requires that inactive relationships be created in order to work correctly. Inactive relationships are not often used in DAX because they are not used automatically like active relationships. Unlike active relationships, you can have more than one inactive relationship between two tables.

Let's create a new relationship between the Internet Sales...

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 AU $19.99/month. Cancel anytime}