Forum Discussion

Centaur's avatar
Centaur
Helper V
1 year ago
Solved

Replace Null Values and If

Hello, I am a novice user of PQ. What I want to do is: change where [Budget Category] = Null  and if [Vendor] = "Co A" then change [Budget Category] to "A" and if [Vendor] = "Co B" then change [...
  • lbendlin's avatar
    1 year ago

    Better use a reference table, and a custom join/lookup . No need to hard code this.

  • Centaur's avatar
    Centaur
    1 year ago

    Hi Antrik,

    thank you for the response. Interesting approach.  I am a novice user and I'm not a programmer and I don't really understand what the code is doing, but I do not see how it is making the required changes.  Thank you