Skip to main content
Solved

Prefilters are not applied on look-up in Universal GUI

  • March 13, 2026
  • 3 replies
  • 48 views

Forum|alt.badge.img+2

In windows, when you apply a look-up to a subject column, and choose a variant, first a query is done for the subject, and then the look-up is retrieved with any variant ON prefilters applied.

However, in universal, the look-up retrieval is combined with the subject query with a LEFT JOIN on the look-up table without any prefilters applied. (neither with a default subject or variant)

 

I have a case where this leads to row duplication and consequently non-unique PKs.

 

Was this behaviour intended/foreseen?

 

To solve my problem I would have to make a view instead of use a prefilter, but it would have been nice if a prefilter sufficed.

Best answer by Robin Liu

Hi, tbh, I already reworked my model to use a view instead of variant soon after posting this, and it would take a bit of time to recreate the situation I had, so I am not sure when I can get to it. Thanks for the support though

3 replies

Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • March 17, 2026

@Robin Liu I just tested a simple scenario: a Lookup to a Subject with Look-up table variant enabled and an ‘On’ Pre-filter applied to the Subject Variant (but not to the Default). It does filter out the values that match the Prefilter, so in my case it works as expected.

Could you clarify your Subject, Variant, and Lookup configuration, so we can assess if you’ve encountered a bug?


Jeroen van den Belt
Administrator
Forum|alt.badge.img+10

Hi ​@Robin Liu, could you please respond to the question Arie asked? Thanks!


Forum|alt.badge.img+2
  • Author
  • Sidekick
  • Answer
  • April 13, 2026

Hi, tbh, I already reworked my model to use a view instead of variant soon after posting this, and it would take a bit of time to recreate the situation I had, so I am not sure when I can get to it. Thanks for the support though