@v-xiaochen-msft
well it's been a while when I posted this question, now there's some time to answer to your suggestion.
I got several errors using your technique. Maybe there's a slight difference as I'm not using a sharepoint list but a dataverse table. I set up a demo like this:
The control to adapt has a text property
ThisItem.Title

the gallery has an Items property
Col

and the Screen02 has a OnVisible property
Clear(Col);ForAll(ShowColumns(tblTest02,"tstSymptome"),If(Title2 in Col.Title,Collect(Col,{Title:"*"}),Collect(Col,{Title2:Title2})))

I varied some values in this last case but no success.
Still errors
ShowColumns(tblTest02,"tstSymptome")

but the table has these columns:

and I'm not sure with the Title property and the gallery control Title2.
More ideas?