Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Power BI Quick Start Guide

You're reading from   Microsoft Power BI Quick Start Guide The ultimate beginner's guide to data modeling, visualization, digital storytelling, and more

Arrow left icon
Product type Paperback
Published in Nov 2022
Publisher Packt
ISBN-13 9781804613498
Length 330 pages
Edition 3rd Edition
Languages
Arrow right icon
Authors (4):
Arrow left icon
Mitchell Pearson Mitchell Pearson
Author Profile Icon Mitchell Pearson
Mitchell Pearson
Devin Knight Devin Knight
Author Profile Icon Devin Knight
Devin Knight
Bradley Schacht Bradley Schacht
Author Profile Icon Bradley Schacht
Bradley Schacht
Erin Ostrowsky Erin Ostrowsky
Author Profile Icon Erin Ostrowsky
Erin Ostrowsky
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Gaining Data Literacy with Power BI 2. Connecting to Data FREE CHAPTER 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 4, Building 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 $19.99/month. Cancel anytime