SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


In one SSRS report, can we sync data from both table and SSAS cube?


In one SSRS report, can we sync data from both table and SSAS cube?

Author
Message
KKottha
KKottha
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 46
1. can I take 1 source from table and other source from SSAS cube and do the "Report Server Project"
2. can I take 1 source from table and other source from SSAS cube and do the "Report Model Project" (for users to create Ad hoc Reports)
robert.gerald.taylor
robert.gerald.taylor
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1791 Visits: 1484
Have you tried it? What did you find? Go to your test environment and try some test examples in SSRS.

Rob

One thought is that you could do an OPENROWSET to get the cube data and union with your relational data.
H4K
H4K
SSC Veteran
SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)SSC Veteran (241 reputation)

Group: General Forum Members
Points: 241 Visits: 567
kothakeerthi (10/8/2012)
1. can I take 1 source from table and other source from SSAS cube and do the "Report Server Project"
2. can I take 1 source from table and other source from SSAS cube and do the "Report Model Project" (for users to create Ad hoc Reports)


In the report you can create two different datasets one pointing to relational and other to OLAP. And then you can use Lookup/LookupSet function to join data from those two datasets.

OR

In the stored procedure, you can write an MDX query in a variable (say @mdx) to get the OLAP data and save it to a temp table. For that you need to create a Linked server (to OLAP DB). And use this @mdx variable in an OPENQUERY command (alongwith insert and select statements to fill the temp table). Then you can join the temp table along with relation table to get the appropriate data.

BI Developer
SSRS, SSIS, SSAS, IBM Cognos, IBM Infosphere Cubing services, Crystal reports, IBM DB2, SQL Server, T-SQL
Please visit... ApplyBI
sanjeewan99
sanjeewan99
SSC-Enthusiastic
SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)SSC-Enthusiastic (162 reputation)

Group: General Forum Members
Points: 162 Visits: 399
Hi,
yes you can use two datasource SSAS and TSQL see these two links

http://www.bi-rootdata.com/2012/09/execute-mdx-query-with-tsql.html
http://www.bi-rootdata.com/2012/10/passing-multi-value-tsql-parameter-to.html
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