Quantcast
Channel: SQL Server Analysis Services forum
Browsing all 14337 articles
Browse latest View live

XMLA: Get a list of partitions in a cube

 Hi there,I'd like to use XMLA to get a list of partitions ina  cube. So far the nearest I've got is: Code Snippet<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">...

View Article


Translating from SQL SSAS MDX to BIDS Calculated Members!?

Hello everyone, I am quite new to the SSAS technology, but have built up a cube that appears to be quite reliable and accurate, providing some good data. However, I am now attempting to start more...

View Article


Initialization of the data source failed.

Hi,I am trying to connect SSAS Cubes from the EXCEL work book.I was received the following error.ERROR: Check the database server or contact your database administrator. Make sure the external database...

View Article

Set in the where clause causes the simple query to fail

Hi,I have a very simple query (using Adventure Works 2012) that I am running against MSAS 2012. It fails with the infamous error "The MDX function failed because the coordinate for the...

View Article

Image may be NSFW.
Clik here to view.

Aggregating distinct value of a dimension table - SSAS Tabular

Hi,in order to query a SSAS tabular model for a SSRS report, I need to calculate the sum of a numeric value present into a dimension table.I try to explain the issue by a simplified model. Suppose to...

View Article


The MDX function failed because the Coordinate for the 'IsActive' Attribute...

I do not want to bother over by the question again, but we have a weird Issue for a while.Users cannot query the cube and the the Error Message "The MDX function failed because the Coordinate for the...

View Article

learning mdx, easy question i think

I have a KPI with the following value expression...([Measures].[Percent SLA Met],[Ticket].[Priority].&[1])How would I write this so my measures is filtered for Priority 1 & 2?I tried...

View Article

Problem With Time Dimension

I have a fact table in which i have voucherDate that is mapped to the DateKey of time dimension .Data type of both are same. In time dimension i have data for 4 years from 2009-2012But in my fact table...

View Article


Count function in Mdx

Hi how can i get the total no of customers for a particular product using count function?can anyone help me please..

View Article


Problem about dynamic value when putting expression after &

Hi,I've got the problem with MDX. The thing is that I would like to create the dynamic dimension after the & character.For example, the below statement works fine with month(now()) function:SELECT...

View Article

How to Deploy the solution from one server to another server with out...

Hello all,I want to deploy hte solution from DEV server to Production server.I Have done some changes to dimensions on DEV and i got accepted, now i want to deploy the same to PROD with out making...

View Article

how to set Cube to be offline when it is refreshed

Hi all:Need your kind help. In my production environment, sometimes I will get the wrong data when the cube is being processed. I want to know whether I can set the cube to be offline when it is being...

View Article

How to optimize a cube with > 500 K members in customer dimension and...

Hello.First of all, sorry for my poor english.We have performance problems with our cubes. The problem is very simple:* We have a customer dimension with many hierarchies and around 500 K members * We...

View Article


MDX - How to select last date for each year.

Can someone show me how to (MDX) select the last non empty date grouped by year. The output should look like this:Year                   Date2013                 03/15/20132012...

View Article

Product hierarchy , product level members secure

Hey I've a product hierarchy where I like users to drill to product level which is the lowest level however at the product level there are other members accosiated with the product code such as size ,...

View Article


MDX Where clause with member

I am trying to use a member in a where clause. In the query below I have hard-coded the [2011] year, but what I need to for that [Cycle Date].[Year] value to equal to...

View Article

Moving or re-creating SSAS 2000 cubes/dims on an SSAS 2008 Server

My client has asked me to decommission an old MS SQL Server 2000 box, moving everything to an MS SQL Server 2008 box.  The old box has 9 SSAS databases w/ 35 cubes & 61 shared dims.  What's the...

View Article


AVG of SUM in MDX ?

Dear all,My fact table has the granularity of order line, and has the order number (OrderNo) both as measure and as source for a degenerate dimension, as follows Id TimeKey ProductKey SalesAmount...

View Article

Image may be NSFW.
Clik here to view.

Dynamic dimension based on calculated measure

UsingAn [Annual Volume] measure that calculates the average number of patients per year that receive a given surgical procedure, andA [Hospital].[Hospital] dimension... I'd like to create a dimension...

View Article

Image may be NSFW.
Clik here to view.

Error - while processing indexes

Trying to troubleshoot a Process failure after Adding an index and then processing indexes  (2012 -Multidimensional).Can anyone help?

View Article
Browsing all 14337 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>