<?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: Add rows for each second between an interval (start and end time) in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Add-rows-for-each-second-between-an-interval-start-and-end-time/m-p/1453066#M3403</link>
    <description>&lt;P&gt;Create lists on the fly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("fdBLCsMwDEXRrQSPQ6JvYmsPgc5N9r+NWlSzCs0M1xzBm7NB2xsB9AMOHeuNcOI4CQg2BMNujNvn+Q8jwrvPhqVBYnxlBmkEN6g0eF2EzGCM4AbXxjo3UuOK4IaUhqCJZoZQBDe0Nm7TdFPpEdy4SkPZNN1UJYIbd22srz011PS3x/sF", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Index = _t, Build = _t, StartDate = _t, EndDate = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"StartDate", type datetime}, {"EndDate", type datetime}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Difference", each {0..Duration.TotalSeconds([EndDate]-[StartDate])}),
    #"Expanded Difference" = Table.ExpandListColumn(#"Added Custom", "Difference"),
    #"Added Custom1" = Table.AddColumn(#"Expanded Difference", "Custom", each [StartDate]+#duration(0,0,0,[Difference]))
in
    #"Added Custom1"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Oct 2020 02:26:24 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-10-24T02:26:24Z</dc:date>
    <item>
      <title>Add rows for each second between an interval (start and end time)</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Add-rows-for-each-second-between-an-interval-start-and-end-time/m-p/1447726#M3400</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;How can i add in new rows for every second between these intervals?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 18:51:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Add-rows-for-each-second-between-an-interval-start-and-end-time/m-p/1447726#M3400</guid>
      <dc:creator>asganesh</dc:creator>
      <dc:date>2020-10-21T18:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add rows for each second between an interval (start and end time)</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Add-rows-for-each-second-between-an-interval-start-and-end-time/m-p/1453066#M3403</link>
      <description>&lt;P&gt;Create lists on the fly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("fdBLCsMwDEXRrQSPQ6JvYmsPgc5N9r+NWlSzCs0M1xzBm7NB2xsB9AMOHeuNcOI4CQg2BMNujNvn+Q8jwrvPhqVBYnxlBmkEN6g0eF2EzGCM4AbXxjo3UuOK4IaUhqCJZoZQBDe0Nm7TdFPpEdy4SkPZNN1UJYIbd22srz011PS3x/sF", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Index = _t, Build = _t, StartDate = _t, EndDate = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"StartDate", type datetime}, {"EndDate", type datetime}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Difference", each {0..Duration.TotalSeconds([EndDate]-[StartDate])}),
    #"Expanded Difference" = Table.ExpandListColumn(#"Added Custom", "Difference"),
    #"Added Custom1" = Table.AddColumn(#"Expanded Difference", "Custom", each [StartDate]+#duration(0,0,0,[Difference]))
in
    #"Added Custom1"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 02:26:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Add-rows-for-each-second-between-an-interval-start-and-end-time/m-p/1453066#M3403</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-10-24T02:26:24Z</dc:date>
    </item>
  </channel>
</rss>

