-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hello
I have have an embedded dashboard using createDashboardWithId that has many filters, but I need to hide a few specific filters from the dashboard.
I am trying to hide the filters "Date selector" and "Date filter", code example below.
const options = {
hide_filter: "Date selector"
}
const db = LookerEmbedSDK.createDashboardWithId("123")
.withParams(options)
.withNext('')
.appendTo(el)
.build()
.connect()
.then((d) => {
setupDashboard(d);
})
I have tried
const options = {
hide_filter: "Date selector",
hide_filter: "Date filter"
}
Ends up only hiding "Date filter", because it does not allow repeat properties
const options = {
hide_filter: "Date selector,Date filter",
}
Does not work, results in showing both filters
const options = {
hide_filter: ["Date selector","Date filter"],
}
Obviously doesn't work because it expects a string.
Thanks for looking!
Link to hide_filter docs https://cloud.google.com/looker/docs/filters-user-defined-dashboards#hiding_dashboard_filters
do-pierregambaud, pem-dialonce, dofdary, fabian222222, Kamaradeivanov and 2 more
Metadata
Metadata
Assignees
Labels
No labels