@eslam sorry for the delay, you can use the filter "once per bar"