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
ColinCowan
Helper I
Helper I

Help With A Power Query

I am a novice with Powery Query, See below formula that works, although I need to continue to replace multiple numbers with "1.5"

 

Regards Colin

 

ColinCowan_0-1664694574346.png

 

1 ACCEPTED SOLUTION

Greg, thanks did not realize that it was that easy

 

Colin

View solution in original post

6 REPLIES 6
Greg_Deckler
Super User
Super User

@ColinCowan Just how many numbers do you need to replace?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Greg, thanks cira 8 numbers

 

Colin

@ColinCowan I would just right-click your column iwith the numbers in Power Query Editor and do a Replace Values... step. Repeat 7 more times.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Greg I am unsure how to repeat the formula/action more than once.

ColinCowan_0-1664745430234.png

 

@ColinCowan I wasn't talking about creating a new column. Just right-click the column header of the column in your table. Choose Replace Value... Enter the number to replace and the replacement. Click OK, that will add a step to your query. Right-click the header of that same column again, rinse and repeat. 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Greg, thanks did not realize that it was that easy

 

Colin

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