I am trying to pull the correct Price, based on SKU and Currency, from the Pricing Table into my Sales table/form. I have put together the below Select expressions:
SKU and Currency in both tables are Text, and Prices in both tables are Decimal. I keep getting the following error: Cannot compare Text with List in ([Sale Currency] = PRICING[Currency])
In ([Sale Currency] = PRICING[Currency]), PRICING[Currency] is a table-column reference, which produces a list containing all of that column’s values, so you’re comparing a singular value ([Sale Currency]) to that list of values. It’s not at all clear how this expression is related to the SELECT() expression, so I don’t know what else I can offer.
replacing table with the name of that table; wanted-sku with an expression that provides the SKU you want to match (e.g., [_THISROW].[SKU], or "SKU"); and wanted-ccy with an expression that provides the currency identifier you want to match (e.g., [_THISROW].[CCY], or "USD").