<?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 M Query to R Script in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/M-Query-to-R-Script/m-p/2832338#M39163</link>
    <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me here please?&lt;/P&gt;&lt;P&gt;im trying to convert this m query to R script for me able to extract it. Its working on the PBI desktop but when it comes in PBI Service its wont refresh due to the dynamic query, so I am trying to get the data in other way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(site as text) =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;Source = OData.Feed("&lt;A href="https://Sample.sharepoint.com/sites/pwa/" target="_blank" rel="noopener"&gt;https://Sample.sharepoint.com/sites/pwa/&lt;/A&gt;"&amp;amp;site&amp;amp;"/_api/web/lists/GetByTitle('Issues')/Items()?")&lt;BR /&gt;in&lt;BR /&gt;Source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 00:30:43 GMT</pubDate>
    <dc:creator>Marcky</dc:creator>
    <dc:date>2022-10-11T00:30:43Z</dc:date>
    <item>
      <title>M Query to R Script</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/M-Query-to-R-Script/m-p/2832338#M39163</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me here please?&lt;/P&gt;&lt;P&gt;im trying to convert this m query to R script for me able to extract it. Its working on the PBI desktop but when it comes in PBI Service its wont refresh due to the dynamic query, so I am trying to get the data in other way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(site as text) =&amp;gt;&lt;BR /&gt;let&lt;BR /&gt;Source = OData.Feed("&lt;A href="https://Sample.sharepoint.com/sites/pwa/" target="_blank" rel="noopener"&gt;https://Sample.sharepoint.com/sites/pwa/&lt;/A&gt;"&amp;amp;site&amp;amp;"/_api/web/lists/GetByTitle('Issues')/Items()?")&lt;BR /&gt;in&lt;BR /&gt;Source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 00:30:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/M-Query-to-R-Script/m-p/2832338#M39163</guid>
      <dc:creator>Marcky</dc:creator>
      <dc:date>2022-10-11T00:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: M Query to R Script</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/M-Query-to-R-Script/m-p/2835259#M39196</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/440264"&gt;@Marcky&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;perhaps you can try to parameterized your connection string with query parameters. Then you can modify these parameters to get data from different path.&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;Notice: these data sources need to have same data structure or it will show the error about the new records not match with cached data structure keys.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 01:04:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/M-Query-to-R-Script/m-p/2835259#M39196</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-12T01:04:13Z</dc:date>
    </item>
  </channel>
</rss>

