Hello, are there any API's within the UI SDK tools which I can use to determine a list of all dates which exist on the same table as an attribute/fact?
i
Ivana Gasparekova
11/02/2023, 4:35 PM
Hello Cayce,
I am afraid it is not possible to list Date Attributes and facts that you are using as Dates by one call.
Also, what table are we speaking about, please?
Table in your resource? Dataset? Or the whole model of your workspace?
c
Cayce Collins
11/02/2023, 5:10 PM
Hi @Ivana Gasparekova, this would be for whole modal of the workspace
Cayce Collins
11/02/2023, 5:16 PM
for additional context, in our UI we are attempting to run some execution to get data values for a specific attribute/measure with a date filter. However, each table in our model may or may not have a specific "as of date", so we first need to check the model to see if there is a date key we can use on the table, and if not we set it to a default fallback "as of date" key from a different table.
i
Ivana Gasparekova
11/02/2023, 7:10 PM
Is this tied to some data freshness or most recent values for certain attribute/measure?
Could you maybe provide me some example, please?
c
Cayce Collins
11/02/2023, 7:26 PM
I've sent you some examples in a direct message
i
Ivana Gasparekova
11/02/2023, 7:26 PM
Thanks a lot, I will review them shortly.
Really appreciated.