Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

RE: Rename the filed values

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

2 ACCEPTED SOLUTIONS

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

View solution in original post

@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.

 

image.png

 

View solution in original post

11 REPLIES 11

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors