Microsoft Power BI

Microsoft Power BI community sharing our Power BI experience, tutorials, use cases, tips and…

Follow publication

Member-only story

3 Ways to Replace Multiple Column Values in Power BI 📈

--

Let’s understand by using Power Query transformation effectively

🎖️ Article was awarded as Must-Read by Power BI Masterclass community.

AI Image generated by Author using ideogram.ai

When discussing solutions in Power BI, people often solve issues either through SQL at the source or using DAX in Power BI Desktop.

However, not everything should be done that way. Developers often overlook Power Query or M Language transformations, which are integral parts of Power BI.

Certain transformations can be done in the Power Query Editor window of Power BI and we will discuss one such transformation here.

When we load raw data into Power BI, we often observe anomalies that require transformations before the data is ready for reporting. One such transformation is replacing unwanted values/characters in a column with new ones.

Let me tell you, this transformation can be done in different ways, and here we will discuss three of them, from the least to the most optimized way. But first, let’s understand the problem statement.

Problem Statement

You have a Sales table in your model, and the “Item Type” column has some old values that you want to replace with new ones. It is also observed that some values with more than one…

--

--

Microsoft Power BI
Microsoft Power BI

Published in Microsoft Power BI

Microsoft Power BI community sharing our Power BI experience, tutorials, use cases, tips and tricks. Learn together. Grow together. Follow our Power BI Masterclass: https://linktr.ee/powerbi.masterclass or me: https://linktr.ee/tomas.kutac

Akshay Mishra
Akshay Mishra

Written by Akshay Mishra

Professionally, a Power BI & Data Analytics enthusiast | Outside of it, a Traveler & Explorer. Support here 👇 https://buymeacoffee.com/akshaymishra

Responses (1)

Write a response