How to add a button to lookerml dashboard with filters in query parameters?

- dashboard: test_dashboard
title: Test Dashboard
layout: newspaper
preferred_viewer: dashboards-next
elements:
- name: GeoPerformanceDrillDown
type: button
width: 4
height: 1
rich_content_json: '{
"text": "Explore Geo Performance",
"description": "Explore granularity dimensions",
"newTab": true,
"alignment": "right",
"size": "small",
"style": "OUTLINED",
"href": "https://xxx/embed/dashboards/clickhouse_AAA::publisher_geo_requests_stats?Date={{ ad_event_daily_feed_adjustment2.event_date._value }}"
}'

... with looker_grid ...

filters:
- name: Date
title: Date
type: field_filter
default_value: today
allow_multiple_values: true
required: false
model: clickhouse_AAA
explore: publisher_ad_performance2
listens_to_filters: []
field: ad_event_daily_feed_adjustment2.event_date

Above dashboard button is showing fine, clicking the button doesn’t replace the Date filter values into the href section in button element. This should be a simple implementation, but can’t find any resources online, please help?

0 0 192
0 REPLIES 0
Top Labels in this Space
Top Solution Authors