<?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: TSQL power bi API in SSMS in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2119953#M32265</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/281106"&gt;@djwbaker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Power BI data models are not conventional SQL database tables, and rather Analysis Services (Tabular) models. As such, T-SQL is not a valid way to query them, whereas MDX/DAX/XMLA are all appropriate languages suitable for doing this. As such SSMS will not enable T-SQL here, but enable the others, as you're experiencing.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 20:20:37 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2021-10-06T20:20:37Z</dc:date>
    <item>
      <title>TSQL power bi API in SSMS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2118297#M32248</link>
      <description>&lt;P&gt;Hi Has anyone been able to query Power bi datasets using TSQL in SSMS?&lt;BR /&gt;I can use MDX, DAx And XMLA. But i cant seem to activate the TSQL option, any ideas?&lt;BR /&gt;&lt;BR /&gt;cheers Dan&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 07:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2118297#M32248</guid>
      <dc:creator>djwbaker</dc:creator>
      <dc:date>2021-10-06T07:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: TSQL power bi API in SSMS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2119953#M32265</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/281106"&gt;@djwbaker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Power BI data models are not conventional SQL database tables, and rather Analysis Services (Tabular) models. As such, T-SQL is not a valid way to query them, whereas MDX/DAX/XMLA are all appropriate languages suitable for doing this. As such SSMS will not enable T-SQL here, but enable the others, as you're experiencing.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 20:20:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2119953#M32265</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-10-06T20:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: TSQL power bi API in SSMS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2126004#M32308</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/281106"&gt;@djwbaker&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, power bi rest API does not include t-SQL operate features.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Perhaps you can try to use SQL connector with an advanced t-sql statement and parametrize with query parameter then you can use rest api to modify them on the power bi service side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/connectors/sqlserver#connect-using-advanced-options" target="_blank"&gt;Power Query SQL Server connector | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Using-the-Power-BI-Service-Parameters-to-change-connection/ba-p/392016" target="_self"&gt;Using the Power BI Service Parameters to change connection strings (To possibly change between Dev&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/update-parameters" target="_blank"&gt;Datasets - Update Parameters - REST API (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 03:03:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/TSQL-power-bi-API-in-SSMS/m-p/2126004#M32308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-11T03:03:12Z</dc:date>
    </item>
  </channel>
</rss>

