Hallo und Danke das du mal drüber geschaut hast
sieht fuer mich alles ganz OK aus, eventuell mal ASC auch auf jahr setzen. Kannst Du mal eine kleine Probe der Daten und der Abfragedaten liefern?
lag daran, das ASC mußte sowohl hinter monat als auch hinter jahr.
Gruß
Localhorst