How to run this

{{button1Trigger.data.rates.USD}} This is my text value. I want to make the USD dynamic and want to use something like this
{{button1Trigger.data.rates.{{select2.value}}}}
Here select2.value is USD/EUR/INR depending upon what is chosen in the select field. Currently when I use the value as shown above, it gives me the error.

What is button1Trigger? A query, button? If it is a query, does that data return include values for data.rates.USD, data.rates.EUR, and data.rates.INR?

If it is and does, {{button1Trigger.data.rates[select2.value]}} might do it for you

Thanks Alex, It worked.