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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

PQ How to replace 1 to 0 ?

Hi All

Paulyeo11_0-1607768471331.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

The operation in Power Query will be used for the entire column. Currently it's not support the change the value of single row.

You may submit this as an idea.

https://ideas.powerbi.com/ideas/ 

 

Best Regards,

Jay

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi @Anonymous ,

 

The operation in Power Query will be used for the entire column. Currently it's not support the change the value of single row.

You may submit this as an idea.

https://ideas.powerbi.com/ideas/ 

 

Best Regards,

Jay

negi007
Community Champion
Community Champion

@Anonymous When you change value in powerquery window, it will replace all values. So there is no direct way to change one cell value and replace with other. Using a condition, you can force only a certain value to be replaced based on fullfilling the criteria. 

You can refer to below link as well for more details

 

https://stackoverflow.com/questions/59827153/change-value-of-a-single-cell-in-power-bi

 




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



Proud to be a Super User!


Follow me on linkedin

mahoneypat
Microsoft Employee
Microsoft Employee

I agree you should change it in the source.  For a short-term fix, you could add a custom column with

 = [User] = "abc@xyz.com" then 0 else [IsManager]

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Hi Mahoney

Thank you for sharing. 

I don't understand why i need to create condition , since i only need to edit the table data. 

Paul

 

Fowmy
Super User
Super User

@Anonymous 

Then you need to do it in the source. In PQ, you apply logic, if that logic meets, you perform an action.

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Fowmy
Super User
Super User

@Anonymous 

Right Click on the column, choose to Replace Value

 

Fowmy_0-1607769455662.png

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Hi Fowmy

Thank you very much for sharing, But it will replace that column every row. what i need is just only edit that column at certain row. 

Paul

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors