Goran Jakimovski
07/29/2024, 1:33 PMFrancisco Antunes
07/29/2024, 2:03 PMYou are currently not able to change filter contexts with postMessages if the dashboard contains multiple date filters. We intend to implement a fix for this in the future.From what I can find, it’s not possible to set the Primary Date Filter (the default one, that applies to every date dimension) via PostMessages.
Goran Jakimovski
07/31/2024, 7:33 AMFrancisco Antunes
08/01/2024, 12:37 PMFrancisco Antunes
08/01/2024, 1:57 PMdataSet
object in your JSON. Something like this:
{
"relativeDateFilter": {
"from": 0,
"to": 0,
"granularity": "GDC.time.week_us"
}
}
This set the default date filter to this week. Would you kindly give that a shot and let us know if it works?