How to create panel with calculated value using Infinity plugin?

Hi all,
I am trying to use a conditional statement “if A.value > B.value panel shows 7(numeric value)” using multiple queries(A, B) and the Infinity plugin.
I do not understand how I could do that.
May you help me, please?

Thank you.
Dave.