How best to handle data with multiple date fields?
For instance, an item might have a received date, an inspected date, and a sold date. Different users want to see the data sliced and diced by different dates. Do we need to create one project with three data sets, each keyed off one of those dates? or three projects? or...? Thanks!
4
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answer from the company
-
As of just a few hours ago, it should be possible to map multiple date fields to a date dimension. However, this capability is limited to the data management section, and currently not available during data upload.
Once the data is uploaded, you can open the date attribute's properties page, and map it to the provided time dimension. Each successive mapping wil essentially create a new hierarchy of dates based on the name of the original attribute.
I'd be happy to get on a call and show this to you or hear about your other concerns if I am missing something here. Just let me know if this would interest you, and we can make it happen.
Thanks,
Ray
support@gooddata.com
(415) 200-0194
I’m thankful
The company says
this answers the question
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Hi Tom,
Thanks for your feedback. Currently, our UI cannot handle single files containing multiple dates. This is a known problem, and I'm happy to let you know that we are releasing an update in the next 1-2 weeks that addresses this issue in the UI and will allow you to map multiple dates to the time dimension.
In the meantime, we would be happy to help set this up for you. If you would like more information, please contact me and we can discuss your needs.
Thanks!
Ray
support@gooddata.com
(415) 200-0194
I’m thankful
-
Inappropriate?Thanks for the info. My work-around was to create separate files, one keyed on each important date, but I have to prefix each duplicated measure by the date it's keyed on.
When the new multiple dates per file feature is released, will you support date math for generating new metrics? -
Inappropriate?We will be supporting some basic date arithmetic, namely to provide trailing period reports (ie, last 3 days, week, month quarter, year, etc).
However, we realize that this is still lacking. Creating metrics based on date arithmetic is a feature we are working on implementing. Currently, there are some lengthy workarounds that we hope to change soon.At this point, I can't give an exact date as to when this feature will be implemented, but we are working to making it happen!
Thanks for your patience in this matter, and if you have any other questions, please feel free to let us know.
I’m thankful
-
Inappropriate?Just an update here... today we released an update to the application that now allows mapping multiple dates.
The trick to this is to perform the mapping from the data management portion of the application (Data tab) and mapping each date to a date field. The application will then make new date hierarchies for each date (ie, Start Date or End Date >> Start Date Month, Start Date Year, etc).
Additional note regarding date labels in the application:
"Date" = yyyy-mm-dd
"Date US" = mm/dd/yyyy
(we will update this to make it clear!)
I’m happy
-
Inappropriate?I think when I tried to flag multiple fields as US Dates the system gave me an error (which I forget). When I only flagged one date field as a date the error went away.
-
Inappropriate?As of just a few hours ago, it should be possible to map multiple date fields to a date dimension. However, this capability is limited to the data management section, and currently not available during data upload.
Once the data is uploaded, you can open the date attribute's properties page, and map it to the provided time dimension. Each successive mapping wil essentially create a new hierarchy of dates based on the name of the original attribute.
I'd be happy to get on a call and show this to you or hear about your other concerns if I am missing something here. Just let me know if this would interest you, and we can make it happen.
Thanks,
Ray
support@gooddata.com
(415) 200-0194
I’m thankful
The company says
this answers the question
-
Still no luck -- see my reply to the original message. -
1 person says
this answers the question
-
Inappropriate?I am (still) unable to map multiple date fields to the Date hierarchy. I have a big, de-normalized table containing a few different date fields (e.g. purchase date, sale date, etc.). When I uploaded the file it let me map the first date column to the Date hierarchy. After the import was complete I tried to map the other date fields to Date and got this error:
"Mapping failed because (a) attributes from the same upload cannot be mapped to one another; or (b) only one attribute from an upload can be mapped to a hierarchy (ie, date or location)."
I’m confused
-
Inappropriate?Hi Tom,
I'm sorry you are having problems with this. We know this is tricky and are working to greatly improve this. In the meantime, here are some steps that I hope will help you achieve what you are trying to do.
After uploading a file, your unmapped date columns should be presented as any old attribute. Go to the data management section (Data tab) and select the attribute that you would like to map to a date dimension. From the attribute's properties page, click the "Map Attribute" presented in the right column.
This should bring up the map attribute dialog box. In the first column, select the "Provided Attributes" folder. In the second column, select the "Date" attribute.
Now comes the tricky part and what may be causing errors. After selecting "Date", note the drop down box asking to select a label. There are two choices here:
1) Date - This refers to dates formatted as YYYY-MM-DD (ie,, 2009-08-12)
2) US Date - This refers to dates formatted as MM-DD-YYYY (ie, 08/12/2009 - note the preceding "0" in the month, which is required)

Here it is required to select the appropriate date format which corresponds to the way your date is formatted in your data. At this time, only these two formats are accepted.
By mapping in this manner, multiple data mapping actually create multiple Time dimensions. So a Start Date will create a time hierarchy called "[Start Date] Month, [Start Date] Day," and so on. A subsequent End Date will create another hierarchy labelled as "[End Date] Month, [End Date] Day." So in one file, while it is not possible to map multiple columns to "Start Date", it is possible to designate multiple date fields.
I know this is confusing, but I hope this helps you achieve what you are trying to do. If you continue to have problems, I'd be happy to set up a call with you so we can try to help. Just let me know.
Thanks,
Ray
support email: support@gooddata.com
support phone: (415) 200-0194 -
Inappropriate?Thanks for the advice. Unfortunately, I get the error...
"Mapping failed. Source attribute values need to be a subset of target attribute"
...when I try to map any of my un-mapped date fields to Date (US Date). I looked at the raw data and confirmed that the there are no dates in the unmapped date fields which are not already in the mapped date field. Any ideas what to try next?
I’m confused
-
Inappropriate?Hi Tom,
I'm sorry you are having so many troubles with this. This error message is saying that there is at least one source value that cannot be mapped to the date dimension.
The only thing I can think of is that there is a misformed date in the data, or possibly a null value. I'm guessing in this case that it's the latter. We have seen this before and are working on ways to address a null value when mapping.
Can you tell me if you have any null values in the date data?
Thanks,
Ray
I’m thankful
-
Inappropriate?Yes, there are NULL values. The data contains items which have been bought but not sold, so sold date is NULL. Is there a work-around for this situation?
-
Inappropriate?Hi Tom,
There is no simple workaround for this that I can come up with, other than giving it all null values a fake date. I am sure you don't want to do this, so I am looking into updating the application to allow for null values when date mapping.
I believe this can be done rather simply, but requires changes to the production platform on our side. I am talking to guys here about this, and I hope we can have this updated asap. I will keep you posted.
Thanks,
Ray
I’m thankful
-
Inappropriate?Ok, I'll have to put in dummy dates for the NULLs for now while waiting for the fix to be released.
Thanks! -
Inappropriate?Ok I put in dummy dates for the NULLs but now I'm getting a (related?) weird error. When I apply a filter such as "Date (Packing_Slip_Date) is within last 30" to a report, it is including rows with my dummy date "01/01/1900" in the results. I thought 1/1/1900 would be a safe date to use because it would not show up in any of the standard "recent date" filters.
Loading Profile...




EMPLOYEE