Replace Values Based on Condition (in a Single Step) in Power Query

preview_player
Показать описание
This video teaches how you can replace values based on a condition. All in a single step! You can for example replace all negative numbers by 0, and leave the remaining numbers untouched. In addition, this method allows you to easily replace values based on another column.

WRITTEN BLOGPOST:
The ultimate guide to replacing values in Power Query, find it here:

Master Functions and Syntax in M

Chapters:
00:00 Introduction
00:16 The dataset
00:40 Creating a temporary helper column
01:21 Replace values based on a condition

ABOUT BI Gorilla:
BI Gorilla shares videos and articles on Power BI and Excel to help you improve your skills.

SUPPORT MY CHANNEL

SUBSCRIBE TO MY CHANNEL

LET'S CONNECT:

Thank you for your support!

#ConditionalReplace #PowerQuery #BIGorilla
Рекомендации по теме
Комментарии
Автор

Man! You saved me when ChatGPT and Copilot could not help, even in a task that seemed to be so simple.
Very thanks!

czyxlqe
Автор

Thanks a ton for explaining that so clearly. I especially appreciate the elegance of doing it all in one step. Bravo!

xyz
Автор

Note to self: To skip a line in the formula bar, press "Shift" + "Enter"

andyle
Автор

Simple, elegant, and well explained. Thanks!

milossubak
Автор

This video was so helpful! Exactly what I was looking for. I used criteria based on multiple fields for different scenarios. I used Each only once before the start of the if statements and it worked perfectly. Thank you!!!

RaisingBrows
Автор

@BIGorilla comes through again (and again and again)! Thank you SO much!

CAKimberlyLewis
Автор

Man, you just helped me with this week's work. So nicely explained, cheers!

adyelencu
Автор

Brilliant mate, this helped me so much. I have googled so much about this subject and couldn't find an easy way to do this, untill I stumbled upon your tutorial. Thanks!

walkurey
Автор

Thank you for a great explanation and solution!

carolineabrahamsson
Автор

Helpful and very good explained. Thank you.

lubomirjagersky
Автор

Good explanation make it easy to understand, thanks for sharing.

moyura
Автор

That was exactly what I was looking for! Thank you 🙏

users-pRs
Автор

This was really helpful. Thank you so much.

ahmadahmadsalim
Автор

This is BEAUTIFUL! Thanks dude, this vid helped a bunch!

tantewalla
Автор

Thank you mate, it was a big help to resolve an annoying bad clusterization problem (and ofc it saved me a lot of hours of research)

philipedesouzasantos
Автор

Chef's kiss for this one Rick 🙂 I wish the Power Query UI options for updating columns were as good as for adding columns but this is a great explanation and helped me out. Subscribed!

wken
Автор

Absolutely brilliant, this has saved my so much time and head-scratching! Thank you 🙂

stuartproctor
Автор

Oh my gosh. Why WHY DID I NOT WATCH THIS YEARS AGO!!!

samyoung
Автор

Thanks, great explanation and very helpful.

PeteMackay
Автор

I am so pleased with how you explain and teach! Thank you! I have subscribed and liked the video!

yasinwarsame