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
dtango9
Helper II
Helper II

Replace Values in Data Column

Hello,

 

I currently have a column in my dataset with values of the following:

100000000 = Not at all satisfied
100000001 = Slightly satisfied
100000002 = Moderately satisfied

100000003 = Very satisfied

100000004 = Completely satisfied

 

I would like to replace those values to now become numbered on the 1-5 scale instead of the long string.

 

100000000 = 1
100000001 = 2
100000002 = 3

100000003 = 4

100000004 = 5

 

Can anyone help me with this?  Thanks in advance.

1 ACCEPTED SOLUTION
negi007
Community Champion
Community Champion

@dtango9 The easiest thing is to make changes in the power query window so that you have updated the information on your powerbi desktop. This will also not put extra load on the dataset as changes are made before loading data into power bi desktop. Below is the screnshot of the powerquery window where you can make changes.

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

2 REPLIES 2
negi007
Community Champion
Community Champion

@dtango9 The easiest thing is to make changes in the power query window so that you have updated the information on your powerbi desktop. This will also not put extra load on the dataset as changes are made before loading data into power bi desktop. Below is the screnshot of the powerquery window where you can make changes.

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

amitchandak
Super User
Super User

@dtango9 , Create a new column like

Switch( [Column],
100000000 , 1,
100000001 , 2,
100000002 , 3,

100000003 , 4,

100000004 , 5)

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.