<?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 Admin - Get Activity Events in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3425152#M44390</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We need to use pagination in the Admin - Get Activity Events&amp;nbsp; API. For the first call we need to pass startDateTime and endDateTime parameters. For the subsequent calls, we need to use continuationToken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API run is successful by using recursive function in Power BI dataset. However, when we run the same recursive function in the Power BI dataflow, we are getting dependency cycle was detected error message. I tried to implement it with a do while loop and if statement. However I can not find do&amp;nbsp; while and while keyword in Power Query. I think they are not supported.&lt;BR /&gt;&lt;BR /&gt;I found API pagination example by using List.Generate&amp;nbsp;&lt;A href="https://youtu.be/05yhwnuCjRw?t=432" target="_blank" rel="noopener"&gt;https://youtu.be/05yhwnuCjRw?t=432&lt;/A&gt;&lt;BR /&gt;However in the example, page is increasing incrementally. However I need to pass the API call result (continuationToken) to the subsequent API call. How can I implement this in Power BI data flow?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 23:17:52 GMT</pubDate>
    <dc:creator>innocence84</dc:creator>
    <dc:date>2023-09-11T23:17:52Z</dc:date>
    <item>
      <title>Admin - Get Activity Events</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3425152#M44390</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We need to use pagination in the Admin - Get Activity Events&amp;nbsp; API. For the first call we need to pass startDateTime and endDateTime parameters. For the subsequent calls, we need to use continuationToken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API run is successful by using recursive function in Power BI dataset. However, when we run the same recursive function in the Power BI dataflow, we are getting dependency cycle was detected error message. I tried to implement it with a do while loop and if statement. However I can not find do&amp;nbsp; while and while keyword in Power Query. I think they are not supported.&lt;BR /&gt;&lt;BR /&gt;I found API pagination example by using List.Generate&amp;nbsp;&lt;A href="https://youtu.be/05yhwnuCjRw?t=432" target="_blank" rel="noopener"&gt;https://youtu.be/05yhwnuCjRw?t=432&lt;/A&gt;&lt;BR /&gt;However in the example, page is increasing incrementally. However I need to pass the API call result (continuationToken) to the subsequent API call. How can I implement this in Power BI data flow?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 23:17:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3425152#M44390</guid>
      <dc:creator>innocence84</dc:creator>
      <dc:date>2023-09-11T23:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Admin - Get Activity Events</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3430260#M44445</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/430173"&gt;@innocence84&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 with a custom&amp;nbsp;function with recursion logic(invoke the function itself in the function internal) to invoke rest API and extract the previous result as parameter in following calculations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://www.thepoweruser.com/2019/07/01/recursive-functions-in-power-bi-power-query/" target="_blank"&gt;Recursive Functions in Power BI / Power Query — The Power User&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;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:46:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3430260#M44445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-14T07:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Admin - Get Activity Events</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3432499#M44465</link>
      <description>&lt;P&gt;I applied the same logic. I received the code from&amp;nbsp;&lt;A href="https://bielite.com/blog/building-a-power-bi-admin-report/" target="_blank" rel="noopener"&gt;https://bielite.com/blog/building-a-power-bi-admin-report/&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Activity Query in the blog post was working in the dataset.&lt;BR /&gt;&lt;BR /&gt;I used the same Activity Query, from the blog post, in&amp;nbsp;a Power BI Dataflows. When I click save button, Power BI is throwing error message and it can not save the dataflow.&lt;BR /&gt;I wonder whether Power BI Dataflows support recursive functions.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Power_BI.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/969151iDB82C80D32815BE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Power_BI.png" alt="Power_BI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 07:44:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Admin-Get-Activity-Events/m-p/3432499#M44465</guid>
      <dc:creator>innocence84</dc:creator>
      <dc:date>2023-09-15T07:44:10Z</dc:date>
    </item>
  </channel>
</rss>

