GitHub user billbelanger added a comment to the discussion: Scheduled reports
with filters
I suppose it's possible I was just using the wrong values in `dataMask`. Here's
what I had tried. I'm not sure I recall where I pulled this structure from, but
I think it was something I found in the 'advanced json edit' section of the
dashboard in the UI.
```json
{
...
"extra": {
"dashboard": {
"dataMask": {
"NATIVE_FILTER-abcd": {
"id": "NATIVE_FILTER-abcd",
"extraFormData": { "filters": [ { "col": "<column name>", "op": "IN",
"val": ["<desired value>"] } }
"filterState": {
"validateMessage": false,
"validateFilterValues": false,
"label": "<desired value>",
"value": ["<desired value>"]
},
"ownState": {}
}
}
}
}
}
```
GitHub link:
https://github.com/apache/superset/discussions/42544#discussioncomment-17827692
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]