I have a dashboard that has date filter. I have embedded a report to this dashboard.
Here is how my report part of dashboard looks like
<panel>
<table>
<title>My Test Report</title>
<search ref="my_test_report"></search>
</table>
</panel>
So how can I use the dashboard date filter with this embedded report too.
This is how reports work with dashboards. Essentially, the dashboard is loading a set of results from the (last execution of the) report, which it can then do further operations on, such as filtering by time.
You could set up a base search in your dashboard which retrieves the (last set of) results from the report, then base your panel search on this search to apply the date filter.
So won't that force me to retrieve all the data (All time) in report before hand? Or is this how reports are supposed to work with dashboard?
This is how reports work with dashboards. Essentially, the dashboard is loading a set of results from the (last execution of the) report, which it can then do further operations on, such as filtering by time.