Need help with an expression based on prefilled data

I’m trying to create an expression to show a value based on a prefilled column called source, of which the value is set by a parameter in a URL. [Source] is the identifier that allows me to reference the row to a parent in another table. The current expression I’ve come up with is IF(Request[Source]=”Company1”,Select(Contractor[Logo], [Name] = “Company1”),Select(Contractor[Logo], [Name] = “Company2”))
Is there a better way to do this or a different expression I should use?

0 4 141
4 REPLIES 4

Steve
Platinum 5
Platinum 5

What in the world does this mean?

Maybe this:

LOOKUP(
  [_THISROW].[Source],
  "Contractor",
  "Name",
  "Logo"
)

See also:

When I use this expression, I get the following error; The expression is valid but its result type 'Thumbnail' is not one of the expected types: Show.
When I set the column type to thumbnail, The image doesn’t show in my form.

Use the LOOKUP() expression in the Show column’s Content setting:

3X_d_7_d76b544c77228db5742b6219b6861e94385f8f2d.png