Forum Discussion
Creating a filtered table via a contains function
Hi cartman21,
I'm assuming the key investor list is in a separate table, if so just do a relationship between the two table and use the investor key table in your visual to have the companies per user and filter the blanks out of the key investor column.
Regards,
MFelix
Hello, thanks for taking the time to respond!
The problem is that the list is of KEY investors is like this:
But the data i am being fed has stuff like this:
So the method you provide sadly does not work due to this reason.
Any ideas?
- cartman219 years agoHelper I
Anyone?
- MFelix9 years agoSuper User
Hi cartman21,
Not abble to see this in the afternoon will try to get back to you tomorrow morning.
regards
MFelix
- Vvelarde9 years agoCommunity Champion
Hi, a partial solution.
This works only with 1 selection in slicer of investors.
A measure:
MatchInvestor = IF ( HASONEVALUE ( Investors[Investor] ) && HASONEVALUE ( Table1[Investor] ), IF ( FIND ( SELECTEDVALUE ( Investors[Investor] ), VALUES ( Table1[Investor] ), 1, 0 ) <> 0, 1, 0 ) )And add in the Visual level filter of your table visual and select only when measure is 1.
Regards
Victor
Lima - Peru
- v-huizhn-msft9 years agoMicrosoft Employee
Hi cartman21,
If the investors name are in fixed location in your resource table. In Query Edit navigator, you split the column into separate columns by delimiter(blank), get the investors column like the example you given above, then you can the solution posted by MFelix.
In addition, from the screenshot below, the column is the investors or company fields? Could you please give more details, so that we can post the solution which is close to what you want.
Best Regards,
Angelia- cartman219 years agoHelper I
Sorry I think my description was not good enough.
So basically, I have an API which I have created a report with in Power BI.
Here is the table I have working:
If i use a delimiter, I get in row 4 for example different columns such as:
My issue is i need to be able to search in the report (not in the query/backend) for say, 360 capital.
I have tried the slicer, but then I have to select each iteration of 360 capital that shows up. Is there a way I can just type in a string into a slicer/search and all companies with investors matching the string show up in the table?
Here is the problem with the slicer----
and i can't find a 'select all' feature.
Any help with this would be greatly appreciated!!