In the pages and classes tab, define PageData using the appropriate class.
Assume that Param.CurrencyCode is the parameter that you defined in the when rule. then add a property set step mentioned below, before calling the when rule in the data transform.
Param.CurrencyCode == PageData.CurrencyCode
The values for the param page will be automatically passed to the when rule. If it still doesn’t work, make sure the tracer is running while the data transform is being applied and that the value for CurrencyCode is present on the PageData page.