Skip to content

Filter OR #2501

Closed Answered by texodus
LucasLeandro1204 asked this question in Q&A
Jan 17, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This is no longer necessary - you can use expressions to create arbitrary boolean filter conditions:

viewer.restore({
    expressions: {
        "My Condition": "(\"Sales\" > 100 or \"Profit\" < 100) and \"Quantity\" > 1"
    },
    filter: [["My Condition", "==", true]]
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LucasLeandro1204
Comment options

Answer selected by texodus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants