Hello,
I have a column with managed metadata from the term store in SharePoint list, and I have a gallery connected to that list, and simply put, I want to filter my gallery based on one of the values in that column:

But the problem here is that it says "Cannot compare Table, Text", how do I do it?
When I put the Location in a dropdown using a collection, I get the options like "Sweden | U123-28851-addasikkl-asdasdd" , I get the name and a guid, but I just want the name.
I tried things like Text(Location), Location.Value etc but it doesnt work, it keeps giving me the error that either Location is not a text or cannot compare Table and Text.
Anyone knows how to achieve this?
Thank you in advance!