Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.