ok, allora metti datepart(mm,CONVERT(date,DATF,105) anche nella group by (anche se ti converrebbe darci un taglio netto e trasformare DATF in DateTime già sul db)
ok, allora metti datepart(mm,CONVERT(date,DATF,105) anche nella group by (anche se ti converrebbe darci un taglio netto e trasformare DATF in DateTime già sul db)