<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create SQL Server Linked Server for PowerBI-Dataset? Fire DAX Query from SQL Server to PowerBI.c in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/135129#M4654</link>
    <description>&lt;P&gt;thanks &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;, yes i think you are right, currently there is no possiblity as the needed MSOLAP.7 provider is not registered in sql2016. Also there seems to be a issue regarding SSO authentication for the provider:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-connect?hubRefsrc=email&amp;amp;utm_source=lfemail&amp;amp;utm_medium=email&amp;amp;utm_campaign=lfnotification" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-connect?hubRefsrc=email&amp;amp;utm_source=lfemail&amp;amp;utm_medium=email&amp;amp;utm_campaign=lfnotification&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will now connect via excel und integrate the excel as a linked server to be able to join onPrem-SQL with PowerBI data.&lt;/P&gt;&lt;P&gt;Ugly but working&amp;nbsp;workaround... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2017 16:52:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-01T16:52:50Z</dc:date>
    <item>
      <title>Create SQL Server Linked Server for PowerBI-Dataset? Fire DAX Query from SQL Server to PowerBI.com?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/123945#M4280</link>
      <description>&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Anyone managed to create a linked server to that firing DAX Queries via OPENQUERY is possible via TSQL Code?&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;I tried every combination with bellow TSQL Code already without success. Creating a linked server for an onPrem SSAS Tabular instance worked but not for the PowerBI.com datasets. Obviously the MSOLAP.7 provider has to be installed first in SQL Server? Thanks for any hints..&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Backgound:&lt;BR /&gt;I need to consume data from a published PBI-dataset in R-Script. In R-Script there seems to be no possiblility to directly connect to DAX/PowerBI sources.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;EXEC&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;master&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;.&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;dbo&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;.&lt;/FONT&gt;&lt;FONT color="#800000" face="Consolas" size="2"&gt;sp_dropserver&lt;/FONT&gt; &lt;FONT face="Consolas" size="2"&gt;@server&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'PBI'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; @droplogins&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;'droplogins'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;EXEC&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;master&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;.&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;dbo&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;.&lt;/FONT&gt;&lt;FONT color="#800000" face="Consolas" size="2"&gt;sp_addlinkedserver&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@server &lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt; &lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'PBI'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt; &lt;FONT color="#008000" face="Consolas" size="2"&gt;-- name of linked server&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@srvproduct&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'MSOLAP'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@provider&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'MSOLAP.7'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt; &lt;FONT color="#008000" face="Consolas" size="2"&gt;-- see list of providers available on SQL Server under Linked Server node in SSMS Object Browser&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@datasrc&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'&lt;A href="https://analysis.windows.net/powerbi/api;;Initial" target="_blank"&gt;https://analysis.windows.net/powerbi/api;;Initial&lt;/A&gt; Catalog=ec789b72-07ad-4f48-a9ee-c3d62aba05f1'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt; &lt;FONT color="#008000" face="Consolas" size="2"&gt;-- machine or instance name that host Analysis Services&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@catalog&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'model'&lt;/FONT&gt; &lt;FONT color="#008000" face="Consolas" size="2"&gt;-- Analysis Services database (cube)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;EXEC&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;master&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;.&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;dbo&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;.&lt;/FONT&gt;&lt;FONT color="#800000" face="Consolas" size="2"&gt;sp_addlinkedsrvlogin&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@rmtsrvname&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'PBI'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@useself&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'False'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@locallogin&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=NULL,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@rmtuser&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;N'user@domain.com'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;@rmtpassword&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;'***'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Select&lt;/FONT&gt; &lt;FONT color="#808080" face="Consolas" size="2"&gt;*&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;From&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;OpenQuery&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;(&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;PBI&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;,&lt;/FONT&gt; &lt;FONT color="#ff0000" face="Consolas" size="2"&gt;'EVALUATE TESTTABLE'&lt;/FONT&gt;&lt;FONT color="#808080" face="Consolas" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 20:02:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/123945#M4280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T20:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL Server Linked Server for PowerBI-Dataset? Fire DAX Query from SQL Server to PowerBI.c</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/124904#M4313</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I don't think you can create any so-called linked server to PowerBI.com, as there's no such "provider" for PowerBI.com. However, Power BI actually provides &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-overview-of-power-bi-rest-api/" target="_self"&gt;REST APIs&lt;/A&gt; to create dataset, push data, embed reports etc. The REST API also has limitation, there's no such a API to get data from a published dataset at this moment. You can check and vote this idea &lt;A href="https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/15887703-be-able-to-get-a-dataset-s-data-via-rest-api" target="_self"&gt;Be able to get a dataset's data via REST API&lt;/A&gt;&amp;nbsp;up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Consolas" size="2" color="#0000ff"&gt;Backgound:&lt;BR /&gt;I need to consume data &lt;EM&gt;&lt;STRONG&gt;from a published PBI-dataset&lt;/STRONG&gt;&lt;/EM&gt; in R-Script. In R-Script there seems to be no possiblility to directly connect to DAX/PowerBI sources.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 09 Feb 2017 10:57:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/124904#M4313</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-02-09T10:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create SQL Server Linked Server for PowerBI-Dataset? Fire DAX Query from SQL Server to PowerBI.c</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/135129#M4654</link>
      <description>&lt;P&gt;thanks &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;, yes i think you are right, currently there is no possiblity as the needed MSOLAP.7 provider is not registered in sql2016. Also there seems to be a issue regarding SSO authentication for the provider:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-connect?hubRefsrc=email&amp;amp;utm_source=lfemail&amp;amp;utm_medium=email&amp;amp;utm_campaign=lfnotification" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-connect?hubRefsrc=email&amp;amp;utm_source=lfemail&amp;amp;utm_medium=email&amp;amp;utm_campaign=lfnotification&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will now connect via excel und integrate the excel as a linked server to be able to join onPrem-SQL with PowerBI data.&lt;/P&gt;&lt;P&gt;Ugly but working&amp;nbsp;workaround... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 16:52:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-SQL-Server-Linked-Server-for-PowerBI-Dataset-Fire-DAX/m-p/135129#M4654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-01T16:52:50Z</dc:date>
    </item>
  </channel>
</rss>

