Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
Could you please offer any suggestion about how to rename all of the row vlaues in a single column to the same name?
For example, for a data-set in PowerBI, in the column X, all of the row values will be named as Y.
Thank you!
Rahat
Solved! Go to Solution.
Hi @Anonymous ,
Try this:
= Table.AddColumn(#"Removed Columns", "Custom", each if [Name] <> "" then "Gateway" else "")
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Not very clear. If you want to replace a value you have an option in edit query/data transformation for replacing the value
https://yodalearning.com/tutorials/learn-how-replace-values-power-query/
https://www.youtube.com/watch?v=UZQ9EFvEECY
https://www.youtube.com/watch?v=MLrRlPh_ZFQ
If you need a static value, You can create a new column
New Column = "Y"
Hi Amit,
Pretty close 🙂
Actually the replace is pretty much like what is stated in the screenshot.
Hi @Anonymous ,
Try this:
= Table.AddColumn(#"Removed Columns", "Custom", each if [Name] <> "" then "Gateway" else "")
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, Icey! 🙂
Not sure if this is what you mean, but you can just add a custom column and in the pop-up formula box put = "Y", and then rename that new column to "X". And delete the original column that you intended to replace with Ys.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Why? How is that different from deleting the row?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.