Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Cube report #error issue Expand / Collapse
Posted Tuesday, February 12, 2013 2:14 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, February 4, 2014 8:11 AM
Points: 78, Visits: 233
Hi, All
My report dataset contains 3 date fields,, date1, date2, date diff
datediff field formula is "=cdec(DateDiff(DateInterval.Day,Fields!Date.Value,Fields!Date2.Value))*(-1)"
and the expression for this datediff column in report is "=Avg(Fields!DateDiff.Value)"

Reasoncode->Notification->Material date1 date2 datediff

213->875869->some product 03.01.2013 03.01.2013 31.7

this is the format of old report.

1.we have created a new cube basing on few drawbacks of old cube , and now we need generate all existing reports by pointing to the new cube.

2.changes are like dimension structure, removing/adding attributes and measures,
changes in hierarchies.

3.we are just copying the old report datasets, datasources and pointing to new cube and doing changes in mdx script according to the modifications.

4.after applying all the changes when clicked preview I got #Error in datediff column.

what could be the reason for this error.
I kept expressions of this datediff columns same.
is there anything with below changes of dim.
Old cube : [ Date DIM].[Date Hierarchy ].[Date].&[1900-01-01]
New cube : [ Date DIM].[Date Hierarchy ].[Date].&[1900-01-01T00:00:00]

suggest something if anyone knows.

Post #1418806
Posted Tuesday, April 30, 2013 11:06 AM

SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: 2 days ago @ 7:30 PM
Points: 994, Visits: 1,935
Are the latencies in data similar? In your old report you may have had access to up to the minute data whereas in the new cube current is defined as up to last night at midnight. Also consider MDX does not use the exact date functions as SSRS.

How to post forum questions to get the best help
Post #1448151
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse