The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How do I filter on a list?
I have taken all the dividend-paying stocks and used k-means to assign them to clusters. Now I would like to use a list of my personal stocks to see which clusters my stocks are in. I see a filter operator to filter a single selection like on cluster_4 but I want to filter on a LIST no a single variable.
In SQL it would look like this:
Select * where StockSym in {XOM, PRU, CVX, SPG …..}
Is there an operator I can use to filter based on my list?
Tagged:
0
Best Answer
-
rfuentealba RapidMiner Certified Analyst, Member, University Professor Posts: 568 UnicornYes, it's actually called Filter Examples.
Since you are trying to do a SELECT with an OR, on the bottom left corner of the Filter Examples configuration you can select "any" of these, not "all".
If by any chance you have an actual list as an example set, you can use a "Join", and make it an "Inner" join.
1
Answers