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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Santhosh_V
Regular Visitor

Need to check and replace a part of the values in Power Query

Hi All,

 

I would like to check all the rows in the table and replace a part of the values in each and every row with defined values. Below is an example, On row 2, I would like to replace the product category with Foods, Transportation, Lending.

 

Santhosh_V_0-1680550148145.png

 

@v-yueyunzh-msft , @FreemanZ @Padycosmos , Any help on this if possible?

 

Thanks in advance!!

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

https://1drv.ms/u/s!AiUZ0Ws7G26Rhn5DuxNsX0zECb_a?e=GlPGDn
this is a required step:

Screen Capture #808.png

View solution in original post

4 REPLIES 4
Santhosh_V
Regular Visitor

Thanks, @Ahmedx 

Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

https://1drv.ms/u/s!AiUZ0Ws7G26Rhn5DuxNsX0zECb_a?e=GlPGDn
this is a required step:

Screen Capture #808.png

Ahmedx
Super User
Super User

Is this what you are looking for?

Screen Capture #803.png

Hi @Ahmedx,

 

Yes, Correct. Thanks!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.