Hi,
that's very strange, because as you probably see in the code, all four functions share common implementation and only change SQL aggregate function. Can you please share exact data - actual DCI values, result of GetAvgDCIValue and GetMaxDCIValue, and results of appropriate SQL queries?
Best regards,
Victor
that's very strange, because as you probably see in the code, all four functions share common implementation and only change SQL aggregate function. Can you please share exact data - actual DCI values, result of GetAvgDCIValue and GetMaxDCIValue, and results of appropriate SQL queries?
Best regards,
Victor