Mitch Gammie
11/06/2025, 11:56 PMkapa.ai
11/06/2025, 11:56 PMdateFilterConfig metadata object. This configuration can be set at either the organization or workspace level via API. To remove hour and minute granularities, you need to edit the relativeForm.granularities section to include only the granularities you want to display. For example, to show only days, weeks, months, quarters, and years: json "relativeForm": { "granularities": [ "GDC.time.date", "GDC.time.week_us", "GDC.time.month", "GDC.time.quarter", "GDC.time.year" ], "localIdentifier": "relativeForm", "name": "relativeForm", "visible": true } You can configure this by sending a POST request to: - Organization level: /api/v1/entities/organizationSettings - Workspace level: /api/v1/entities/workspaces/{workspaceId}/workspaceSettings For detailed instructions and examples, see the [Date Filter Documentation](https://www.gooddata.com/docs/gooddata-ui/latest/references/filters/date_filter/#how-to-modify-date-filters-in-dashboards). ## LDM Configuration While you mentioned you've already disabled these granularities in your data model, it's worth confirming this is properly configured. In the data modeler, you can select the date dimension, click "details," and uncheck the granularities you don't want to support, as mentioned in [this community discussion](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1712755018963459?thread_ts=1712755018.963459&cid=C04S1MSLEAW). However, based on your description, the dateFilterConfig approach is what you need to control the dashboard filter UI specifically, as the LDM settings alone may not hide these options from the dashboard date filter interface.Mitch Gammie
11/07/2025, 7:02 AMMitch Gammie
11/07/2025, 7:11 AMkapa.ai
11/07/2025, 7:11 AMMitch Gammie
11/07/2025, 7:11 AMkapa.ai
11/07/2025, 7:11 AMkapa.ai
11/07/2025, 7:12 AMrelativeForm.granularities configuration controls the Relative Period form specifically. However, there's a separate configuration for the Static Period (also called "Floating range form") that uses availableGranularities. According to the [API documentation](https://sdk.gooddata.com/gooddata-ui-apidocs/v11.7.0/docs/sdk-ui-dashboard.idashboarddatefilterconfig.availablegranularities.html#idashboarddatefilterconfigavailablegranularities-property), the IDashboardDateFilterConfig.availableGranularities property controls "Granularities available in the Floating range form." ## 2. Using hideGranularities Additionally, there's a hideGranularities property that you can use to explicitly hide specific granularities from the date filter dropdown. According to the [API documentation](https://sdk.gooddata.com/gooddata-ui-apidocs/v11.7.0/docs/sdk-model.idashboarddatefilterconfig.hidegranularities.html#idashboarddatefilterconfighidegranularities-property), this property allows you to specify "Date filter granularities to hide in the date filter dropdown for the current dashboard." ## Recommended Configuration Your dateFilterConfig should include both configurations: json { "config": { "relativeForm": { "granularities": [ "GDC.time.date", "GDC.time.week_us", "GDC.time.month", "GDC.time.quarter", "GDC.time.year" ], "localIdentifier": "relativeForm", "name": "relativeForm", "visible": true }, "availableGranularities": [ "GDC.time.date", "GDC.time.week_us", "GDC.time.month", "GDC.time.quarter", "GDC.time.year" ], "hideGranularities": [ "GDC.time.hour", "GDC.time.minute" ] } } Try updating your configuration to include the availableGranularities and/or hideGranularities properties, as these control different aspects of the date filter UI beyond just the relative form.