Merge a list with empty list, results empty list

Hi,
I’ve merged two filtered list. The first with 1 element result and the second empty.

The merge logic behavior should be a sum of unique elements in both lists.

So, 1 element + 0 element = 1 element, not 0 !

Is that wrong !?

How can I do it !?

Help me. Please.

Did you do

Search, filter, merge with, Search, filter

Because this would mean

(Search, filter, merge with, Search), filter

Or you can provide samples of what you tried.

I’ve done: LIST:filtered merged with LIST:filtered …

…it’s wrong !?

How can i merge two filtered lists !?

Tnx.

1 Like

LIST isn’t a Bubble expression, could you be more precise?

If you did what I guessed earlier, its not wrong, just different to what you wanted.

There are several possible solutions, which one is useful depends on how you are doing things, and where.

Solution 1 - move the filter constraints to the search constraint.
Solution 2 - save the second filter result to a repeating group or custom state, and reference it from the merge expression.
Solution 3 - alter the second filter constraints to be appropriate for both lists.
Solution 4 - redesign so the merge isn’t needed.

1 Like

LIST means a field in thing that is a list o things …anyway, I understood the behavior of expression with “merged with” and I’ve do it with your Solution 2.
Thank you a lot.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.