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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
How can I replace different values (as text) in Power Query with other values (also as text) in the same column (i.e. without adding a conditional column !!).
For example:
Germany ==> Europe
Spain ==> Europe
Italy ==> Europe
Morocco ==> Africa
China ==> Asia
Thanks 🙂
@Tito ,
In Power Query, right click your Country Column and select Replace Values. You will get the following dialog box:
And Replace away. Personally, I would recommend you add another column to do this.
Regards,
Hi,
Thanks. I don't want to replace the values like that because I have many different values that I need to replace. But that takes time. Therefore want to ask if there is a function in Power Query to be able to replace different values in the same column.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 66 | |
| 44 | |
| 43 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 196 | |
| 125 | |
| 105 | |
| 77 | |
| 56 |