How to do field value comparison in segments and campaigns?

Your software
My Mautic version is: 3.0.2
My PHP version is: 7.3.20

Your problem
Hello, I have two problems on how to use segments and campaigns.

I want to compare values when building segments. I have number field X and number field Y, I want to check if field X has greater value than field Y. How can I do this? Documentation does not describe it.

Let say I have a campaign where I want to make an action after for example 10 days. In the beginning I want to save the value from field X and after these 10 days I want to compare the value from the beginning with the value after these 10 days. How can I do this?