Search element with multiple exactly name by string

I intend to link legend component with the element in model.
I will get the name of legend component, after that I will search the element exactly with the name by string. I am stucking in this point. How can I list of element equivalent with the name of legend component?

@minhson.nguyen.8x Unable to understand your issue.
However, I suspect GroupByKey should work for you

1 Like