Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

How to ProcessAdd Multi-DSV Table Based Dimension

$
0
0

Hi,

I'm using multidimenional model.

I know there are plenty examples online, but all I have found is appending a dsv along with the xmla command specifying the dimension's underlying table structure and the query containing rows to be added. Like it says in this article http://www.artisconsulting.com/blogs/greggalloway/2007/4/20/processadd-examples

In my case, I have a dimension that is based on more than one dsv table. (e.g. There are two table a,b in dsv, there is a proper relationship defined between them. Create a dimension based on table a. Open the dimension, in the data source view pane, click show related tables where table b will show up. Add table a and b 's columns as attribute into the dimension. Now this dimension is two dsv table based.) 

I think I need to provide a query like this: select a.*,b.* from a inner join b on a.key = b.foreignKey and dsv for both tables. But there isn't an example online showing me the correct format of doing this.

I know I can create a view upon the two table making it one dsv table, but the dimension in my case is dynamic and may have more than 1024 columns which prevents me creating view upon them.

Please help me out here if you have experience with this, thanks.




Viewing all articles
Browse latest Browse all 14337

Trending Articles