Hello Power Users,
I have a Gallery in which I have a Lookup column ("DogColumn"),
ThisItem.'Dog'.'DogName'
Where 'Dog' is a Lookup column in my Table Shelter(which is source of my Gallery btw) to Table Dogs, and 'DogName' is primary column there
I want to Groupby my items by 'DogName'
So I've created:
Groupby(Gallery_Dogs, "DogColumn", "AnyNameWIlldo") - which should group my records based on DogName
but I get error:
"Expected a text, numeric, boolean, or date/time value"
When Ive changed "DogColumn" to Text(ThisItem.'Dog'.'DogName') it did not help, my datatype is text and yet it expects text value in error message:

Of course my Gallery is displaying properly and all the dog names are there, they are correct, based on Lookup field, so the issue is not there.
@RandyHayes - created my new topic following your advice,
Would appreciate any kind of help, and wish you good day to all kind Power Users out there 🙂
Regards,
Zbigniew