Рет қаралды 30,322
This video teaches how you can replace values based on a condition. 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:
gorilla.bi/power-query/replac...
Master Functions and Syntax in M
powerquery.how
How to replace values based on a condition for a single column? • Replace Values Based o... .
Chapters:
00:00 Introduction
00:17 The dataset and goal
00:48 Replace values single column
01:06 Replace values multiple columns
01:35 Conditionally replace value on a single column
03:24 Replace values in multiple columns based on condition
04:56 Restoring data types
ABOUT BI Gorilla:
BI Gorilla shares videos and articles on Power BI and Excel to help you improve your skills.
SUPPORT MY CHANNEL
Any videos are made free of charge. You can support my channel by giving a donation through: paypal.me/rickmaurinus.
Website: gorilla.bi
SUBSCRIBE TO MY CHANNEL
kzbin.info?sub_con...
LET'S CONNECT:
Blog: gorilla.bi
Facebook: / bigorilla
Twitter: / rickmaurinus
LinkedIn: / rickmaurinus
Thank you for your support!
#ConditionalReplace #PowerQuery #BIGorilla