Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to change values in a column based on a value in a different column in the same row?

$
0
0
Hi, I have a requirement: My table data shows like this: ACCNO STATUS TYPE CODE 123 A GOL TECH 456 A SIL TECH 199 A GRR TECH 789 A GOL TECH 143 A 0 TECH 543 A 0 TECH Expected output: ACCNO STATUS TYPE CODE 123 A GOL TECH 456 A SIL TECH 199 A GRR TECH 789 A GOL TECH 143 A 0 0 543 A 0 0 I want to display the value as " 0" in CODE wherever TYPE value is 0. Thanks In advance. -PR

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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