Looker API

Hi all,

Have anyone experienced using the Looker API to get the PNG of particular chart in the dashboard with a given set of filters. For example, I want to input something like year="2023" in the render task but it's not effective. I always get the same result which is the default view of the chart.

Here's the endpoint i'm using:

https://dev.cloud.looker.com/api/4.0/render_tasks/dashboard_elements/{dashboard_element_id}/
png?width=800&height=600
 
hope to hear from the community
many thanks!
0 1 1,204
1 REPLY 1

Try updating the dashboard filter first using the Update Dashboard Filter endpoint (/dashboard_filters/{dashboard_filter_id}).