Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: Cleaning Data - How to change content of a column based on values in another column

$
0
0

I looked at Replace - but that won't work because you have multiple columns

 

The best I can come up with is creating a calculated dimension - in my case I called it "Clean"

 

Here is the formula:

if {Color} = "BLACK" and {Name} = "XYZ" and {Size} = 39 then "890211100001" else {Code}

 

Here are the results:

clean.png

 

If I have time I'll try to document in a document the steps.


Viewing all articles
Browse latest Browse all 9656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>