Question

I have a date-dimension which skips single days. I want to use the TimeDim() function to fill those days. The function fills the date successfully (e.g. where there are 3 days missing, it adds 3 new rows to the table), but instead of showing the actual dates, each row shows "multivalue error".

I should also hint that I display another dimension (ID-Number) alongside the dates, and that some days have multiple, different ID-values associated. Could this be a problem?

Était-ce utile?

La solution

The date dimension that you are using for TimeDim(), does it include a time component? I had a similar problem when I was using TimeDim() on an Oracle date field and I hadn't realized that having the same date portion, but different time portions, could throw off the results. Make sure your date field has no time portion, or you cast/truncate the field in the universe so it doesn't include any time portion.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top