Filter OR #2501
Filter OR
#2501
-
I remember that in a previous version we could pass the "filter_op" setting to switch between the "and" and "or" operations. Is it still possible, if not, why? |
Beta Was this translation helpful? Give feedback.
Answered by
texodus
Jan 17, 2024
Replies: 1 comment 1 reply
-
This is no longer necessary - you can use viewer.restore({
expressions: {
"My Condition": "(\"Sales\" > 100 or \"Profit\" < 100) and \"Quantity\" > 1"
},
filter: [["My Condition", "==", true]]
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
texodus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is no longer necessary - you can use
expressions
to create arbitrary boolean filter conditions: