See matching posts in thread - $apply=groupby(DeviceItemID,%20aggregate(ID%20wi...
See matching posts in thread - $apply=groupby(ID,%20aggregate(im_Availability%2...