I have 2 data sources: one is sharepoint list ,in which, there're 3 columns:
[Company] -single choice column
[Responsible Section] - multiply choice column
[Cost Center] - multiply choice column
And I have a excel with TABLE1_1 in sharepoint library.
I choose the both as data sources in power apps.
(What I want to let you know is that I not create a blank power apps ,I just want to customize forms from sharepoint list

)
Okay ,above is basis information, Let me talk my issue.
I choose the sharepoint list and excel as my datasources.
I want to let the list column 'Company' choose values from excel column'SAP PLANT', so I edit the function as below, and it works.
Then after the column company is chosen, I hope the list column 'Responsible Section' choose values from excel column'section' , and these values should be filter. For example, when company = 6321, there should only 6 sections to select. Because when SAP PLANT =6321,there're only 6 sections in table.
so I edit the function as below, but it doesn't filter, it shows all sections in excel .
So I write a gallery to test, the function is same as the above one. you can the function is working in Gallery.It confused me a lot.