Thanks for help but yesterday I manage solve problem. There is few issuses with my code.
Here is working solution. I can’t use filter is data source since data are first calculated and then it should be sorted.
I manage solve it thank to this topic.