Hi. Is there a way to have an insight always displ...
# gooddata-platform
j
Hi. Is there a way to have an insight always display a visualization based on the previous day's data, regardless of what the user chooses as date range in the dashboard?
u
Hi Johann, You can write your metrics (which the visualization is composed of) to select previous day’s data and then ignore the parent filters coming from report, or dashboard with WITHOUT PF statement, you can achieve it by some MAQL below.
SELECT COUNT Event WHERE <date_attribute> = THIS - 1  WITHOUT PF
j
Thanks will try this out