Hallo Jörg und Mike, hab alles probiert aber es geht irgendwie nicht.
dieser Teil funktioniert : to_string(maximum(format_date(to_datetime("Datum"), 'yyyy-MM-dd hh:mm:ss'))) Es wird das jüngste Datum gefunden. Nun fehlt noch der dazugehörige Eintrag aus der Spalte BEZ. Hab hier Version Qgis 3.16 -----Original-Nachricht----- Betreff: Re: [FOSSGIS-Talk] Qgis Attribut auswählen Datum: 2024-10-07T13:56:02+0200 Von: "mike--- via FOSSGIS-Talk-Liste" <fossgis-talk-liste@fossgis.de> An: "Jörg Thomsen (WhereGroup)" <joerg.thom...@wheregroup.com> to_datetime("DEF“) oder to_datetime(„Datum“)? BG, mikeE. > Am 07.10.2024 um 13:32 schrieb Jörg Thomsen (WhereGroup) via > FOSSGIS-Talk-Liste <fossgis-talk-liste@fossgis.de>: > > Hallo Jörg, > > "DEF" = to_string(maximum(format_date(to_datetime("DEF"), 'yyyy-MM-dd > hh:mm:ss'))) > > Gruß, Jörg > > > Am 07.10.24 um 12:04 schrieb joerg.taubert--- via FOSSGIS-Talk- > Liste:Hallo Jörg, > > >> Hallo Liste, >> ich habe einen Punktlayer mit 3 Spalten. >> Spalte 1 FID -integer >> Spalte 2 BEZ -text >> Spalte 3 Datum -datetime über Vorgabewert now() gefüllt >> FID BEZ Datum >> 1 ABC 2023-12-10 09:57:15 >> 2 DEF 2024-10-07 11:47:30 >> 3 GHI 2024-05-25 15:01:55 >> Ich möchte jetzt den Wert der Spalte BEZ des jüngsten Datums (= DEF) zur >> weiteren Verarbeitung verwenden. >> Kann mir da jemand helfen. >> Danke Jörg >> > > -- > Viele Grüße, > Jörg Thomsen > > ******************************************** > Where2B 2024 - die Open-Source-GIS-Konferenz > 12. Dezember 2024 vor Ort in Bonn und online > https://where2b-conference.com/ > ******************************************** > > > Jörg Thomsen > WhereGroup GmbH > Bundesallee 23 > 10717 Berlin > Germany > > Tel: +49 (0)30 / 5130 278 74 > Fax: +49 (0)30 / 5130 278 11 > > joerg.thom...@wheregroup.com > www.wheregroup.com > > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > > > -- > .................................................................... > FOSSGIS-Konferenz 2025 mit OpenStreetMap-Event in Münster! > 26.-29. März 2025 https://www.fossgis-konferenz.de/ > > FOSSGIS Vereinstermine: > https://fossgis.de/aktivit%C3%A4ten/termine/ > > FOSSGIS e.V, der Verein zur Förderung von Freier Software aus dem > GIS-Bereich und Freier Geodaten! > https://www.fossgis.de/ https://mastodon.online/@FOSSGISeV > ____________________________________________________________________ > FOSSGIS-Talk-Liste mailing list > FOSSGIS-Talk-Liste@fossgis.de > https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste -- .................................................................... FOSSGIS-Konferenz 2025 mit OpenStreetMap-Event in Münster! 26.-29. März 2025 https://www.fossgis-konferenz.de/ FOSSGIS Vereinstermine: https://fossgis.de/aktivit%C3%A4ten/termine/ FOSSGIS e.V, der Verein zur Förderung von Freier Software aus dem GIS-Bereich und Freier Geodaten! https://www.fossgis.de/ https://mastodon.online/@FOSSGISeV ____________________________________________________________________ FOSSGIS-Talk-Liste mailing list FOSSGIS-Talk-Liste@fossgis.de https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste -- .................................................................... FOSSGIS-Konferenz 2025 mit OpenStreetMap-Event in Münster! 26.-29. März 2025 https://www.fossgis-konferenz.de/ FOSSGIS Vereinstermine: https://fossgis.de/aktivit%C3%A4ten/termine/ FOSSGIS e.V, der Verein zur Förderung von Freier Software aus dem GIS-Bereich und Freier Geodaten! https://www.fossgis.de/ https://mastodon.online/@FOSSGISeV ____________________________________________________________________ FOSSGIS-Talk-Liste mailing list FOSSGIS-Talk-Liste@fossgis.de https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste