March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
i want to rename the filed values like
i have a filed
Region:
EMEA
AsiaPacific
Americas
now i want to rename AsiaPacific to APAC
how to do ? where to do ?
Best
Chanty
Solved! Go to Solution.
First select the table you want to add column to, this is visible in the Fields pane to the right of Power BI desktop
Now select the menu "modeling" and select "new column"
Write a formula similar to:
MyNewColumn = switch(
[old column name],
"old value1", "new value 1",
"old value 2", "new value 2"
)
Then you can change the slicer field to the new column name
@Anonymous
This is in the query editor window. You are looking at the main window. The query editor where you did the Replace values earlier. It's that same menu.
Hi @Anonymous,
You can change the value in the query editor "edit queries", then select the colum, right click and "Replace values".
You can also keep the original values and create a correspondance table and create a relationship between your tables.
Best
Got it. Now im able to edit and repalced the values in original column.
but if i want to keep original column and need to create other column with required changes? how to create?
@Anonymous
OK. You can duplicate the original column on the same menu (by clicking on the right button of the mouse above the column): 'Duplicate column'. Then you can do the replace values in the duplicated column and leave the original one as it was.
Thanks AlB but i cant see duplicate column option 😞
i tried left side pannel - Data tab - loaded tables is there i selected the entire column -right click i didnt see duplicate
@Anonymous
This is in the query editor window. You are looking at the main window. The query editor where you did the Replace values earlier. It's that same menu.
Thanks 🙂 its quite simple sollution.
and bit confusing Navigations 🙂
Best
Suresh
First select the table you want to add column to, this is visible in the Fields pane to the right of Power BI desktop
Now select the menu "modeling" and select "new column"
Write a formula similar to:
MyNewColumn = switch(
[old column name],
"old value1", "new value 1",
"old value 2", "new value 2"
)
Then you can change the slicer field to the new column name
Thanks your solution worked 🙂
Hi @Anonymous
Please always show your sample data in text-tabular format in addition to (or instead of) the screen captures.
If I understand correctly, you can do this quickly in the query editor. Just click on the column with the right button of the mouse and you'll get a menu. Choose "Replace values" and there just enter 'AsiaPacific' in 'Value to find' and 'APAC' in 'Replace with'
Hi
im using as filter... if i right click im unable to see replace values option 😞
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
77 | |
58 | |
52 |
User | Count |
---|---|
196 | |
123 | |
107 | |
68 | |
65 |