I suspect you will be disappointed. This:
nb = 2,self.custom.key
value = system.dataset.filterColumns(dataset, nb)
suggests to me that you want the row where column 2 matches the given key value. That's not what filterColumns does.
If so, see this topic, but reverse its sense:
3 Likes