justinmind-logo
 
Upvote 7

How to filter on multiple values?

Answered Victor Conesa 8 years ago

I have a data grid, and I want to filter on it based on values. Elsewhere, I have a place where you can drag "tags" in to a dynamic panel. I want to filter the data grid based on all the values in the dynamic panel. For example, if I drag "Hot" and "Summer" in to the dynamic panel, I want to filter all data on ones that have those two tags.


My attempt right now is that whenever I drag a tag in to the dynamic panel, I add the tag's value to another Data Master called "ToFilter", and I attempt to do Filter['Data.value', ['Tags' HAS 'filterValue']] where filterValue is the attribute to the ToFilter Data Master.


I think the problem is that you can't filter the tags based off of multiple values like what filterValue potentially has? This works if I manually type in something like ['Tags' HAS 'Summer'].

Leave a Comment
 
Attach a file