<?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 API change Analysis Services database in gataway data sources in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/215777#M6798</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying programmatically change/update database in an Analysis Services Gateway data source - is there any way to do so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying to to&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. publish an PBIX file (with data source on premise Analysis Services database through Gateway)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2. Remap the data source to a different database on same on premise server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in Power BI API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is it &lt;SPAN&gt;programmatically possible to change data source database in PBIX file before publishing it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any automated solution/workaround is&amp;nbsp;appreciated :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NAJ&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2017 12:32:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-20T12:32:28Z</dc:date>
    <item>
      <title>API change Analysis Services database in gataway data sources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/215777#M6798</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying programmatically change/update database in an Analysis Services Gateway data source - is there any way to do so?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying to to&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. publish an PBIX file (with data source on premise Analysis Services database through Gateway)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2. Remap the data source to a different database on same on premise server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in Power BI API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is it &lt;SPAN&gt;programmatically possible to change data source database in PBIX file before publishing it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any automated solution/workaround is&amp;nbsp;appreciated :-)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NAJ&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:32:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/215777#M6798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-20T12:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: API change Analysis Services database in gataway data sources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/216164#M6805</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I'm trying programmatically change/update database in an Analysis Services Gateway data source&lt;/STRONG&gt; - is there any way to do so?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I trying to to&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;1. &lt;STRONG&gt;publish an PBIX file (with data source on premise Analysis Services database through Gateway)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;2. Remap the data source to a different database on same on premise server&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible in Power BI API?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or is it &lt;SPAN&gt;programmatically possible to change data source database in PBIX file before publishing it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any automated solution/workaround is&amp;nbsp;appreciated :-)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NAJ&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Anonymous&lt;/LI-USER&gt;&lt;/P&gt;
&lt;P&gt;The datasource in gateway is configured according to the SSAS dataset connection string. So I guess you're requesting to change the connection string(contains server, database info) for the dataset, right? There's an REST API &lt;A href="https://msdn.microsoft.com/en-us/library/mt748181.aspx" target="_self"&gt;Set All Connections&lt;/A&gt;&amp;nbsp;that can change the connection string , however it only supports&amp;nbsp;DirectQuery dataset. And based on my test, SSAS live connection string is not treated as DirectQuery mode. So I'm that your request is to an dead end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, for the gateway REST API operations demo, you could reference this &lt;A href="https://community.powerbi.com/t5/Community-Knowledge-Base/Power-BI-REST-API-demos-in-C/ta-p/211155" target="_self"&gt;Knowledge base&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 02:55:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/216164#M6805</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-21T02:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: API change Analysis Services database in gataway data sources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/217567#M6854</link>
      <description>&lt;P&gt;thank you for the reply Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, i'm trying/requesting to programmatically change/update the connection string (server/database) of an SSAS On-prem live dataset/source. And/or remap a dataset to a different&amp;nbsp;&lt;SPAN&gt;SSAS On-prem live source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already tried most of the Gateway API functions (created new datasource , set all connections, etc.) - without any luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Above request seems to be a limitation of the current REST API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NAJ&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:03:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/217567#M6854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T11:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: API change Analysis Services database in gataway data sources</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/268276#M8147</link>
      <description>&lt;P&gt;Did you ever find a work around for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Shilpi&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 17:32:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-change-Analysis-Services-database-in-gataway-data-sources/m-p/268276#M8147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T17:32:58Z</dc:date>
    </item>
  </channel>
</rss>

