<?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 Power BI Rest api and Direct Query in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-api-and-Direct-Query/m-p/221879#M7001</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently developing a solution where a client can create their own data model using a custom built frontend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the data model is published to the db, a power bi dataset is created using the api. &amp;nbsp;Currently I am pushing the data in using the api, but&amp;nbsp;is it possible to link the dataset to the database using direct query through a gateway using the api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Remeez&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2017 06:19:53 GMT</pubDate>
    <dc:creator>remeezp</dc:creator>
    <dc:date>2017-07-31T06:19:53Z</dc:date>
    <item>
      <title>Power BI Rest api and Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-api-and-Direct-Query/m-p/221879#M7001</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently developing a solution where a client can create their own data model using a custom built frontend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the data model is published to the db, a power bi dataset is created using the api. &amp;nbsp;Currently I am pushing the data in using the api, but&amp;nbsp;is it possible to link the dataset to the database using direct query through a gateway using the api?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Remeez&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 06:19:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-api-and-Direct-Query/m-p/221879#M7001</guid>
      <dc:creator>remeezp</dc:creator>
      <dc:date>2017-07-31T06:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Rest api and Direct Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-api-and-Direct-Query/m-p/222037#M7011</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17956"&gt;@remeezp&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently developing a solution where a client can create their own data model using a custom built frontend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the data model is published to the db, a power bi dataset is created using the api. &amp;nbsp;Currently I am pushing the data in using the api, &lt;STRONG&gt;but&amp;nbsp;is it possible to link the dataset to the database using direct query through a gateway using the api?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Remeez&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17956"&gt;@remeezp&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;The answer is No. The datasets created via REST API are tagged as "PUSH" and AFAIK there's no such API that could change the dataset type. So at this moment, you can only push data using API to the datasets created via API.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/52503iF0327362D5305750/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can submit your idea at &lt;A href="http://ideas.powerbi.com" target="_self"&gt;Power BI Ideas&lt;/A&gt; and vote it up.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 09:24:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Rest-api-and-Direct-Query/m-p/222037#M7011</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-31T09:24:35Z</dc:date>
    </item>
  </channel>
</rss>

