Thanks again. But I have noticed that the formula does not work 100% yet.
Cases without the activity “Vorgangsart_geänd.” are not even considered with this formula. These are sorted out.
In principle, I would like to see these cases and check your formula about them.
The problem is
PU_LAST ("/ XFT / INV_Q", “T_CEL_AT_ACCOUNTS_PAYABLE”. “VALUE_NEW”, “T_CEL_AT_ACCOUNTS_PAYABLE”. “TEXT” = “Vorgangsart_geänd.”)
There are also cases without “Vorgangsart_geänd.”.
These should also be counted.
Hope you can help.