﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Reporting Services / Reporting Services  / In one SSRS report, can we sync data from both table and SSAS cube? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 09:40:30 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: In one SSRS report, can we sync data from both table and SSAS cube?</title><link>http://www.sqlservercentral.com/Forums/Topic1370073-150-1.aspx</link><description>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.htmlhttp://www.bi-rootdata.com/2012/10/passing-multi-value-tsql-parameter-to.html</description><pubDate>Tue, 09 Oct 2012 04:14:50 GMT</pubDate><dc:creator>sanjeewan99</dc:creator></item><item><title>RE: In one SSRS report, can we sync data from both table and SSAS cube?</title><link>http://www.sqlservercentral.com/Forums/Topic1370073-150-1.aspx</link><description>[quote][b]kothakeerthi (10/8/2012)[/b][hr]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)[/quote]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.</description><pubDate>Tue, 09 Oct 2012 04:14:40 GMT</pubDate><dc:creator>H4K</dc:creator></item><item><title>RE: In one SSRS report, can we sync data from both table and SSAS cube?</title><link>http://www.sqlservercentral.com/Forums/Topic1370073-150-1.aspx</link><description>Have you tried it?  What did you find?  Go to your test environment and try some test examples in SSRS.RobOne thought is that you could do an OPENROWSET to get the cube data and union with your relational data.</description><pubDate>Mon, 08 Oct 2012 17:52:23 GMT</pubDate><dc:creator>robert.gerald.taylor</dc:creator></item><item><title>In one SSRS report, can we sync data from both table and SSAS cube?</title><link>http://www.sqlservercentral.com/Forums/Topic1370073-150-1.aspx</link><description>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)</description><pubDate>Mon, 08 Oct 2012 15:08:01 GMT</pubDate><dc:creator>KKottha</dc:creator></item></channel></rss>