In meinen PDF-Vorlagen habe ich den Arbeitsausdruck für die fortlaufende Zeilennummerierung. Beim Hinzufügen eines Orderby()-Ausdrucks habe ich trotz Dutzender Versuche nicht festgestellt, dass die fortlaufende Zeilennummerierung auf dem Orderby() basiert. Finden:
<<Start:Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])>><<COUNT(SPLIT(ANY(SPLIT((" , " & Nicht_Volljährig[MitgliedID] & " , "),(" , " &[MitgliedID] & " , ")))," ,"))>>
Solved! Go to Solution.
If understanding of your requirement is clear, you could try the expression below
<<Start:Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])>><<COUNT(SPLIT(ANY(SPLIT((" , " & (Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])) & " , "),(" , " &[MitgliedID] & " , ")))," ,"))>>
Kind of hard to tell what you're doing here. I see you're trying to order the START expression by the [geburtsdatum] column, but I'm very confused by the template expression that you're displaying within the START. Try this to confirm that the ordering works:
<<Start:Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])>>
<<[MitgliedID]>> : <<[Geburtsdatum]>>
<<END>>
If understanding of your requirement is clear, you could try the expression below
<<Start:Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])>><<COUNT(SPLIT(ANY(SPLIT((" , " & (Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])) & " , "),(" , " &[MitgliedID] & " , ")))," ,"))>>
Vielen Dank, das funktioniert sogar perfekt in einer gruppierten Vorlage mit einem Start: Filter-Ausdruck.
Meiner Meinung nach sollte dies mit einer Funktionserklärung in "Tipps &; Tricks" veröffentlicht werden!
You are welcome. Good to know it works for you.
The original expression you are using for serial number is anyway from @Steve in the tip below.
INDEXOF() - Google Cloud Community
You were getting incorrect serial numbers because while you applied the ORDERRBY() on the basic start expression , you were not using the ordered list in the serial number generating expression as below
COUNT(SPLIT(ANY(SPLIT((" , " & Nicht_Volljährig[MitgliedID] & " , "),(" , " &[MitgliedID] & " , ")))," ,"))
I just requested you to substitute that part with an ordered list as suggested below:
COUNT(SPLIT(ANY(SPLIT((" , " & (Orderby(Nicht_Volljährig[MitgliedID],[Geburtsdatum])) & " , "),(" , " &[MitgliedID] & " , ")))," ,"))
User | Count |
---|---|
37 | |
30 | |
29 | |
20 | |
18 |