Prashant Sharma
08/11/2023, 11:48 AMdateDataSet
, to
, from
, and granularity
parameters with the newRelativeDateFilter
helper function, it requires the granularity
to be specified as a DateAttributeGranularity
type. This type typically takes values like GDC.time.date
. However, it's worth noting that when GoodData initiates the execution call from their end, they pass the granularity
as "DAY". This creates a discrepancy between the granularity values utilized in the IFilter
object and those used in the execution API call.
This discrepancy prompts a couple of questions:
1. Is there a specific reason behind the inconsistency between the granularity values employed in the IFilter
object and those employed in the execution API call?
2. Does the GoodData library offer a Mapping object that facilitates the translation of granularity values between those used in DateAttributeGranularity
and the ones utilized in execution calls?
It would be helpful to address these questions in order to ensure clarity and consistency in the usage of granularity values within the GoodData library.Prashant Sharma
08/14/2023, 2:29 PMPetr Dolejsi
08/15/2023, 7:04 AMPetr Dolejsi
08/15/2023, 7:06 AMPrashant Sharma
08/28/2023, 11:06 AM