I have a PowerBIintegration app - Gallery 1 represents that dataset. I am trying to filter Gallery1 based on text values within a text input box - which is concatenated text values (pulled from a formviewer (or the specific datacardvalue)).
I'd like Gallery 1 to be filtered based on the Lines of Business (Line(s) of xx00) value from my PowerBI Integration dataset. In this example (attached), that is the value from my FormViewer1, that was concatenated into my TextInput2 box (The Edge)...its concatenated as there can be multiple Lines of Businesses all separated by a comma. Taking it a step further, the field I'd like to display in Gallery 1 is the Core Data Source that my PowerBIIntegration table is looking at (in summary, I had to append a few tables in Power BI and my identifier is a column I created that represents the original data source (pic1 for reference)...incase you're wondering why I did it that way)).
I can get the distinct formula to work fine, but when I try to add in a filter function is where I'm messing up. I thought using a CONTAINS function would be the best to do as I will be filtering the gallery (which the powerbi dataset contains 1 value in each cell) by the 1 or many concatenated text values within the TextInput2 box. Where did I go wrong? Any help would be appreciated...thanks!!
Gallery1 Items formula to return all values (pic1):
PowerBIIntegration.Data.'Core Data Source'
Distinct formula working just fine when not filtering (pic2):
Distinct(PowerBIIntegration.Data,'Core Data Source')
Distinct formula not working when I try to add the desired filtering based on TextInput2 text values (pic3):
Distinct(Filter(PowerBIIntegration.Data.'Line(s) of_x00', Contains, TextInput2.Text),'Core Data Source').Result

Report
All responses (
Answers (