Hi all,
I want to filter my dataset by using a dropdown list in a binding script
the problem is when get the value from my dropdown list and I do the filter on the dataset it gave me an error
the dataset :
dataset = self.parent.custom.chart_L_sup_p1
nb = 2,self.custom.key
value = system.dataset.filterColumns(dataset, nb)
return value
And why is the nb = 2, self.custom.key line appearing like a link in the snippet ?
edit: I'm thinking you initially surrounded 2, self.custom.key with parenthesis and used a quote block instead of a code block, which made it interpret it like if it was markdown...
Use code blocks instead.
Please use the </> code formatting button when posting code. It will indent properly (important for Python) and give syntax highlighting. You can use the 🖉 edit link to fix your post.
I also noticed your edit where OP may have used parenthesis in the declaration, making the nb variable a set, correct? Does the filterOptions method also take in sets?