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

how find difference between table rows

$
0
0
I have results in following table format: half app_name dataconsumed ----------------------------------- first_half skype 50 first_half facebook 90 first_half yahoo 10 first_half bing 30 second_half skype 150 second_half facebook 100 second_half yahoo 5 second_half bing 50 How should I find the difference in dataconsumed for ex (difference = secondhalf - firsthalf) and exclude app if difference is negative. for above table result should be: app difference ------------------------ skype 100 facebook 10 bing 20 **Note**: In above result table yahoo is excluded since it's difference is negative.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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