Hi @JordanCClark @victordcq
# Sample input DataSets
d1 = system.dataset.toDataSet(["1","2","3","4"],[[system.date.parse('2021-11-23 00:00:00'),'String1',none,40,none]])
d2 = system.dataset.toDataSet(["1","2","3","4"],[[system.date.parse('2021-11-28 00:00:00'),'String2',34,90,none]])
d3 = system.dataset.toDataSet(["1","2","3","4"],[[system.date.parse('2021-11-28 00:00:00'),'String2',98,90,none]])
d4 = system.dataset.toDataSet(["1","2","3","4"],[[system.date.parse('2021-11-28 00:00:00'),'String2',98,none,none]])
sometimes when i query the data form database i am getting none values for the integer column also
> # otherwise, use value from first dataset
> else:
> dataOut.append(i)
As we are hard coding it to get value from d1 dataset so if i get none value in any one of the integer column of dataset 1 … even other dataset have integer values for the same column … but i am getting output as none as for that column…
if all the row of single column have none value that time only it should return none.
how to write this script more dynamically ? for your example i have attached you the sample datasets
how my dataset i am getting while querying