Search icon CANCEL
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
Power Query Cookbook

You're reading from   Power Query Cookbook Use effective and powerful queries in Power BI Desktop and Dataflows to prepare and transform your data

Arrow left icon
Product type Paperback
Published in Oct 2021
Publisher Packt
ISBN-13 9781800569485
Length 412 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Andrea Janicijevic Andrea Janicijevic
Author Profile Icon Andrea Janicijevic
Andrea Janicijevic
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Chapter 1: Getting Started with Power Query 2. Chapter 2: Connecting to Fetch Data FREE CHAPTER 3. Chapter 3: Data Exploration in Power Query 4. Chapter 4: Reshaping Your Data 5. Chapter 5: Combining Queries for Efficiency 6. Chapter 6: Optimizing Power Query Performance 7. Chapter 7: Leveraging the M Language 8. Chapter 8: Adding Value to Your Data 9. Chapter 9: Performance Tuning with Power BI Dataflows 10. Chapter 10: Implementing Query Diagnostics 11. Other Books You May Enjoy

Clustering values

Data often comes from original data sources in many forms and you can end up having multiple variations of the same value where you need to have a unique value. In this case, you need a way to group and correct these values quickly, without creating complex rules or doing it manually. In this recipe, we will see how to leverage the clustering values feature, which enables you to automatically group data based on similarities thanks to an underlying algorithm.

Getting ready

For this recipe, you need to have access to the Power BI portal, for which a Power BI Pro license is needed. You also need to have access to a workspace.

How to do it…

After you log in to the Power BI portal, perform the following steps:

  1. Browse to your workspace, click on New, and click on Dataflow.
    Figure 8.52 – Creating a dataflow

    Figure 8.52 – Creating a dataflow

  2. Click on Add new tables in order to connect to a data source and access the Power Query online UI.

    Figure 8.53 – Add new...

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