Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

PQ How to replace 1 to 0 ?

Hi All

 

  • Anonymous's avatar
    Anonymous
    5 years ago

    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

7 Replies

  • Anonymous 

    Right Click on the column, choose to Replace Value

     

    ________________________

    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

    • Anonymous's avatar
      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

       

  • 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

     

  • mahoneypat's avatar
    mahoneypat
    Icon for Microsoft Employee rankMicrosoft Employee

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

     = [User] = "[email protected]" then 0 else [IsManager]

     

    Regards,

    Pat

    • Anonymous's avatar
      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

       

  • Anonymous's avatar
    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