<?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: Batch add rows via Logic App Connector? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/395556#M11776</link>
    <description>&lt;P&gt;To clarify, are you saying that you can only submit an array of objects to the connector if the dataset is a "RealTime Streaming Dataset"? (it seems in this case it is a PushStreaming dataset with historical data turned off? / When looking at the dataset online it's API Access field is "Streaming")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming that is the case I gave it a shot:&lt;/P&gt;&lt;P&gt;The Dataset:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-12 at 6.51.22 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90884i8D5FB132E50DA77B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-12 at 6.51.22 PM.png" alt="Screen Shot 2018-04-12 at 6.51.22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a single column, "Count", that accepts a Number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giving Payload a single object works fine:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-12 at 6.53.18 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90886iE3FDDE15C3FCEE6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-12 at 6.53.18 PM.png" alt="Screen Shot 2018-04-12 at 6.53.18 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but give it an array and you get the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-12 at 6.50.33 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90883i657CC6152F216CFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-12 at 6.50.33 PM.png" alt="Screen Shot 2018-04-12 at 6.50.33 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the same error I got when I tried using PushStreaming, Push &amp;amp; Multi-Table Push datasets.&amp;nbsp; They all work however if I only provide a single object.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I ran into an &lt;A href="https://powerbi.microsoft.com/en-us/blog/push-rows-to-a-power-bi-streaming-dataset-without-writing-any-code-using-microsoft-flow/" target="_self"&gt;old powebi blog article&lt;/A&gt; which showed the connector accepting an array of objects:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="74e287bf-6a86-4b6e-982c-8b913757045a" style="width: 396px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90888i55ECDFFA666198F1/image-dimensions/396x447?v=v2" width="396" height="447" role="button" title="74e287bf-6a86-4b6e-982c-8b913757045a" alt="74e287bf-6a86-4b6e-982c-8b913757045a" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I don't know if the devs reworked the connector somehow?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2018 00:35:40 GMT</pubDate>
    <dc:creator>ThreeTen22</dc:creator>
    <dc:date>2018-04-13T00:35:40Z</dc:date>
    <item>
      <title>Batch add rows via Logic App Connector?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/393029#M11709</link>
      <description>&lt;P&gt;Hey Guys.&amp;nbsp; I currently am trying to create a logic app that pushes ~50 items every 10 seconds into PowerBi via the logic app connector.&amp;nbsp; Due to the connectors limitations ill&amp;nbsp;constantly hit the cap very quickly.&amp;nbsp; Looking at the &lt;A href="https://docs.microsoft.com/en-us/connectors/powerbi/" target="_self"&gt;Connector information&lt;/A&gt; there seems to be a "code only" optional parameter called "Payload" that I can use rather than the single row form that automatically displays.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, in logic app's code designer I have tried setting Payload&amp;nbsp;as an object variable, so its output would match your REST API call:&lt;/P&gt;&lt;PRE&gt;"Payload" : 
{
  "rows": 
            [ 
                {"ProductID":1,"Name":"Adjustable Race","Category":"Components","IsCompete":true,"ManufacturedOn":"07/30/2014"}, 
                {"ProductID":2,"Name":"LL Crankarm","Category":"Components","IsCompete":true,"ManufacturedOn":"07/30/2014"}, 
                {"ProductID":3,"Name":"HL Mountain Frame - Silver","Category":"Bikes","IsCompete":true,"ManufacturedOn":"07/30/2014"} 
            ] 
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp; As well a&lt;SPAN&gt;s modify the variable to that of an array, so&amp;nbsp;the connector's&amp;nbsp;output would look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;"Payload": [ 
{"ProductID":1,"Name":"Adjustable Race","Category":"Components","IsCompete":true,"ManufacturedOn":"07/30/2014"}, 
{"ProductID":2,"Name":"LL Crankarm","Category":"Components","IsCompete":true,"ManufacturedOn":"07/30/2014"}, 
{"ProductID":3,"Name":"HL Mountain Frame - Silver","Category":"Bikes","IsCompete":true,"ManufacturedOn":"07/30/2014"} 
]&lt;/PRE&gt;&lt;P&gt;However both variations do not work.&amp;nbsp; As this functionality has been in Power BI's REST API for awhile, on top of the fact that the url string in the logic app connector itself goes to the same url as your REST API I can't imagine this cannot be done?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:36:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/393029#M11709</guid>
      <dc:creator>ThreeTen22</dc:creator>
      <dc:date>2018-04-10T08:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add rows via Logic App Connector?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/394067#M11735</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is your DataSet a &lt;A href="https://docs.microsoft.com/en-us/power-bi/service-real-time-streaming" target="_self"&gt;real time streaming&lt;/A&gt; DataSet?&lt;/P&gt;&lt;P&gt;The Dataset for the Power BI connector in Logic Apps, PowerApps and Microsoft Flow currently only supprts RealTime Streaming Dataset.&lt;/P&gt;&lt;P&gt;If not, then the Add rows to DataSet will not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 10:40:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/394067#M11735</guid>
      <dc:creator>v-micsh-msft</dc:creator>
      <dc:date>2018-04-11T10:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add rows via Logic App Connector?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/395556#M11776</link>
      <description>&lt;P&gt;To clarify, are you saying that you can only submit an array of objects to the connector if the dataset is a "RealTime Streaming Dataset"? (it seems in this case it is a PushStreaming dataset with historical data turned off? / When looking at the dataset online it's API Access field is "Streaming")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming that is the case I gave it a shot:&lt;/P&gt;&lt;P&gt;The Dataset:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-12 at 6.51.22 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90884i8D5FB132E50DA77B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-12 at 6.51.22 PM.png" alt="Screen Shot 2018-04-12 at 6.51.22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a single column, "Count", that accepts a Number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giving Payload a single object works fine:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-12 at 6.53.18 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90886iE3FDDE15C3FCEE6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-12 at 6.53.18 PM.png" alt="Screen Shot 2018-04-12 at 6.53.18 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but give it an array and you get the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-04-12 at 6.50.33 PM.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90883i657CC6152F216CFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-04-12 at 6.50.33 PM.png" alt="Screen Shot 2018-04-12 at 6.50.33 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the same error I got when I tried using PushStreaming, Push &amp;amp; Multi-Table Push datasets.&amp;nbsp; They all work however if I only provide a single object.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I ran into an &lt;A href="https://powerbi.microsoft.com/en-us/blog/push-rows-to-a-power-bi-streaming-dataset-without-writing-any-code-using-microsoft-flow/" target="_self"&gt;old powebi blog article&lt;/A&gt; which showed the connector accepting an array of objects:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="74e287bf-6a86-4b6e-982c-8b913757045a" style="width: 396px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90888i55ECDFFA666198F1/image-dimensions/396x447?v=v2" width="396" height="447" role="button" title="74e287bf-6a86-4b6e-982c-8b913757045a" alt="74e287bf-6a86-4b6e-982c-8b913757045a" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I don't know if the devs reworked the connector somehow?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 00:35:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/395556#M11776</guid>
      <dc:creator>ThreeTen22</dc:creator>
      <dc:date>2018-04-13T00:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add rows via Logic App Connector?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/395671#M11782</link>
      <description>&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;The connector under Microsoft Flow seems to be updated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/90908iC49B260885BAEA33/image-size/large?v=v2&amp;amp;px=999" role="button" title="12.PNG" alt="12.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The available DataSet listed are all streaming dataset, and the fields is generated automatically. So I am afraid the payload may not work at the current time.&lt;/P&gt;&lt;P&gt;You may consider add an apply to each loop in Logic Apps:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-control-flow-loops" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-control-flow-loops&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 05:24:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/395671#M11782</guid>
      <dc:creator>v-micsh-msft</dc:creator>
      <dc:date>2018-04-13T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Batch add rows via Logic App Connector?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/398568#M11870</link>
      <description>&lt;P&gt;considering each call in a while/foreach loop counts as a Connector call, the maximum rate of rows I can push per second is ~1.6 rows per second, (100 calls /&amp;nbsp; 60s) , which is laughably unscalable.. &amp;nbsp;&amp;nbsp; I guess I will have to code this solution after all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(I would also suggest renaming the connector action to "add_row_to_dataset" as you cannot add more than one at a time).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 01:22:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Batch-add-rows-via-Logic-App-Connector/m-p/398568#M11870</guid>
      <dc:creator>ThreeTen22</dc:creator>
      <dc:date>2018-04-18T01:22:41Z</dc:date>
    </item>
  </channel>
</rss>

