Quantcast
Viewing all articles
Browse latest Browse all 47296

Only include certain rows in appendcol- need help building search

So i am trying to convert some of my searches from joins to appendcol to improve performance but I am running into some problems. I can't figure out how to create a table in this question- so just read the first row like Field=A, Baseline=100, Week1=103, Week2=105 Field Baseline Week1 Week2 A 100 103 105 B 50 54 56 C 20 Originally- I was using join to pull in baseline because baseline is based on historical trends, while week1 and week2 are the most recent weeks. To improve performance- I want to change to using something else, but when I use appendcol- field value C is pulled in based on the historical baseline even when they don't have values in week1 and week2. I only want to display the baseline for A and B because they have data in week1/2. Is there anyway to control this with appendcols? This is a very simplified example so I need a somewhat generic solution or idea. Thanks for the help!

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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