Forum Discussion
TBoat
3 years agoFrequent Visitor
Multi-conditional find replace in Data Power Query from two seperate columns
Hi, I have an issue with some of the data being miss classified in my report. I am trying to find a solution on the Power Bi side instead of changing it in the data base. In Power Query does anyo...
lbendlin
3 years agoSuper User
Absolutely. Replacer.ReplaceValue is actually a function placeholder that you can replace (no pun intended) with your own (x,y,z) function to do all kinds of wonderful things.
Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
- TBoat3 years agoFrequent Visitor
Hi - lbendlin
Thanks for getting back to me. Interesting. I would like to see how this function works in Power Query. I attached a sample of what my data looks like:
In this case I would like to Replace cg_sort_order " 7 " with " 8 " - only if ca_AcctNumber is "4650"and da_AcctNumber is "4191".
Thanks so much for your help!
Trevor