Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Mdx Weird Error Message


Mdx Weird Error Message

Author
Message
david.hao
david.hao
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 124
Hi, I have a cube with 3 partitions, and several dimensions. When I run the following query:

WITH DYNAMIC SET Top5Ip AS (
TOPCOUNT([Dim Host].[IP Address].CHILDREN, 5, [Measures].[Response Time])
)
SELECT
Top5Ip ON 0
,[Measures].[Response Time] ON 1
FROM [Fact Object Result]
WHERE ([Test Date].[Cal Year Hierarchy].[Day In Month].&[7]&[5]&[2013])

It gives error
"Errors in the high-level relational engine. The data source view does not contain a definition for the '[dbo].[dimPage]' table or view. The Source property may not have been set."

However if I move the data slice from "where" clause to TopCount function

WITH DYNAMIC SET Top5Ip AS (
TOPCOUNT(NONEMPTYCROSSJOIN([Dim Host].[IP Address].CHILDREN,{[Test Date].[Cal Year Hierarchy].[Day In Month].&[7]&[5]&[2013]}), 5, [Measures].[Response Time])
)
SELECT
Top5Ip ON 0
,[Measures].[Response Time] ON 1
FROM [Fact Object Result]

Any idea how I can fix this?
david.hao
david.hao
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 124
Just got it solved. It is actually one of the dimension "Proactive Caching" was set to Automatic MOLAP instead of MOLAP. After I made the changes the MDX query runs through.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search