Sameer Hasan
02/13/2026, 10:10 PMkapa.ai
02/13/2026, 10:10 PMdateFilterConfig metadata object and limit the granularities in the relativeForm.granularities array to only those you want (for example, month, quarter, year). Anything not listed (day, hour, minute) will not appear in the date picker UI. [[Date filter docs](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards)] Example (only months and years): json "relativeForm": { "granularities": [ "GDC.time.month", "GDC.time.year" ], "localIdentifier": "relativeForm", "name": "relativeForm", "visible": true } You configure this via: - /api/v1/entities/organizationSettings or - /api/v1/entities/workspaces/{workspaceId}/workspaceSettings. [[Date filter docs](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards)] You can also use hideGranularities in IDashboardDateFilterConfig to explicitly hide certain granularities in a specific dashboard. [[hideGranularities](https://sdk.gooddata.com/gooddata-ui-apidocs/v11.21.0/docs/sdk-model.idashboarddatefilterconfig.hidegranularities.html#idashboarddatefilterconfighidegranularities-property)] ### 2. Control / hide specific presets Presets are defined in the relativePresets section of the same dateFilterConfig. You can: - Remove presets you don’t want to offer, or - Add only the presets that make sense for your users (e.g., “Last 7 days”, “Last 30 days”, “Last 12 months”). [[Date filter docs](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards)] Example of defining only a couple of presets: json "relativePresets": [ { "from": -6, "to": 0, "granularity": "GDC.time.date", "localIdentifier": "relative_last_7_days", "name": "Last 7 days", "visible": true }, { "from": -29, "to": 0, "granularity": "GDC.time.date", "localIdentifier": "relative_last_30_days", "name": "Last 30 days", "visible": true } ] By combining: - relativeForm.granularities (and optionally hideGranularities) and - a curated relativePresets list, you can effectively hide Day/Hour/Minute options and any presets based on them from the date picker.Sameer Hasan
02/13/2026, 10:11 PMkapa.ai
02/13/2026, 10:11 PMkapa.ai
02/13/2026, 10:11 PMdateFilterConfig and its relativePresets via metadata settings, using the GoodData Cloud API. ### 1. Where dateFilterConfig lives dateFilterConfig is stored as a special setting object and can be created/updated at: - Organization level: POST /api/v1/entities/organizationSettings - Workspace level: POST /api/v1/entities/workspaces/{workspaceId}/workspaceSettings The object has: - `id`: dateFilterConfig - `attributes.type`: DATE_FILTER_CONFIG Example payload (org level): [[Date filter docs](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards)] json { "data": { "id": "dateFilterConfig", "type": "organizationSetting", "attributes": { "content": { "config": { "relativeForm": { "granularities": [ "GDC.time.month", "GDC.time.year" ], "localIdentifier": "relativeForm", "name": "relativeForm", "visible": true }, "relativePresets": [ { "from": -6, "to": 0, "granularity": "GDC.time.date", "localIdentifier": "relative_last_7_days", "name": "Last 7 days", "visible": true } ], "selectedOption": "relative_last_7_days" } }, "type": "DATE_FILTER_CONFIG" } } } (Switch "type": "organizationSetting" to "workspaceSetting" when calling the workspace endpoint.) [[Date filter docs](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards)] ### 2. Where relativePresets are configured relativePresets is a field inside that same dateFilterConfig content: json "config": { ... "relativePresets": [ { "from": -6, "to": 0, "granularity": "GDC.time.date", "localIdentifier": "relative_last_7_days", "name": "Last 7 days", "visible": true } ], "selectedOption": "relative_last_7_days" } You add/remove presets by editing this array in the content.config of the dateFilterConfig setting. [[Date filter docs](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards)] ### 3. Deleting the configuration If you need to remove the configuration entirely: - Org level: DELETE /api/v1/entities/organizationSettings/dateFilterConfig - Workspace level: DELETE /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/dateFilterConfig [[Deleting dateFilterConfig](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#deleting-datefilterconfig)]Sameer Hasan
02/13/2026, 10:12 PMMatt MacGillivray
02/14/2026, 3:19 AMkapa.ai
02/14/2026, 3:19 AMkapa.ai
02/14/2026, 3:19 AMMatt MacGillivray
02/14/2026, 3:25 AMkapa.ai
02/14/2026, 3:25 AMkapa.ai
02/14/2026, 3:25 AMMatt MacGillivray
02/15/2026, 3:18 AMdateFilterConfig via the api. There is no dateFilterConfig in the organization settings or workspace settings by default. So you have to build it from scratch.
2. The format required for updating dateFilterConfig is different than specified in the documentation - the docs show it from the config element, but if you do a PUT it requires you start from the data/attributes/content element. This was SUPER confusing, which would have been solved by (1).
So the docs give examples that look like this:
{
"config": {
"absoluteForm": {
"localIdentifier": "absoluteForm",
"name": "",
"visible": true
},
"allTime": {
"localIdentifier": "allTime",
"name": "All time",
"visible": true
},
... rest of the elements here ...
}
when it SHOULD BE:
{
"data": {
"attributes": {
"content": {
"config": {
"absoluteForm": {
"localIdentifier": "absoluteForm",
"name": "",
"visible": true
},
"allTime": {
"localIdentifier": "allTime",
"name": "All time",
"visible": true
},
... rest of the elements here ...
}
Note the missing data/attributes/content path.Joseph Heun
02/16/2026, 8:07 AM