Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have more than 500 different values in a column and I need to replace all of them for a single value in a new column. How can I do that easily? Is there such a function as replace all values except blank, for a unique value?
Thanks, RA
Solved! Go to Solution.
hi @Anonymous
try calculated column
Column = IF(
isBlank('Table'[Field]);blank();"YourNewValue")
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
hi @Anonymous
it should work
= if [Column1] = null then null else "YourValue"
do not hesitate to give a kudo to useful posts and mark solutions as solution
Follow the following. Remember you need to add several entries then the system makes a rule and follows the rule.
hi @Anonymous
try calculated column
Column = IF(
isBlank('Table'[Field]);blank();"YourNewValue")
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi AZ38 -
How can I apply this same formula in the POWER QUERY EDITOR?
In my specific case, it would be better to do this there, by addin a Custom column.\
Pls, let me know.
Thank you. RA
hi @Anonymous
it should work
= if [Column1] = null then null else "YourValue"
do not hesitate to give a kudo to useful posts and mark solutions as solution
SUPER!!!
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |