<?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: Need to increment the date value in rows based on the coloumn value and duplicate the row values. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554573#M30779</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="276293" data-lia-user-login="zeusturbo" class="lia-mention lia-mention-user"&gt;zeusturbo&lt;/a&gt;&amp;nbsp;Inventing rows is tricky in Power BI. You will need to use GENERATE or GENERATESERIES in DAX to invent these rows. You may actually need to use both in conjunction with one another, essentially:&lt;/P&gt;
&lt;P&gt;GENERATE(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Table',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; GENERATESERIES(...)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post input sample data as text so that I can experiment with the right solution?&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2020 17:41:18 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-12-16T17:41:18Z</dc:date>
    <item>
      <title>Need to increment the date value in rows based on the coloumn value and duplicate the row values.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554493#M30773</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to increment the date value based on a&amp;nbsp; particular column value. And also need to duplicate the entire rows by the values based on that column. I have an example below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;If you see the above image, the rows are duplicated based on values in the&lt;STRONG&gt; "Nights"&lt;/STRONG&gt; columns and the &lt;STRONG&gt;"Date"&lt;/STRONG&gt; column is incremented based on the &lt;STRONG&gt;"Nights"&lt;/STRONG&gt; columns.&lt;/P&gt;&lt;P&gt;Please help me with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:10:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554493#M30773</guid>
      <dc:creator>zeusturbo</dc:creator>
      <dc:date>2020-12-16T17:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increment the date value in rows based on the coloumn value and duplicate the row values.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554573#M30779</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="276293" data-lia-user-login="zeusturbo" class="lia-mention lia-mention-user"&gt;zeusturbo&lt;/a&gt;&amp;nbsp;Inventing rows is tricky in Power BI. You will need to use GENERATE or GENERATESERIES in DAX to invent these rows. You may actually need to use both in conjunction with one another, essentially:&lt;/P&gt;
&lt;P&gt;GENERATE(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Table',&lt;/P&gt;
&lt;P&gt;&amp;nbsp; GENERATESERIES(...)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post input sample data as text so that I can experiment with the right solution?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:41:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554573#M30779</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-12-16T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increment the date value in rows based on the coloumn value and duplicate the row values.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554775#M30788</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="276293" data-lia-user-login="zeusturbo" class="lia-mention lia-mention-user"&gt;zeusturbo&lt;/a&gt;&amp;nbsp;- To follow-up on this, I did something similar to this in this Quick Measure:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Blowout/td-p/1391913" target="_blank"&gt;Blowout! - Microsoft Power BI Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 19:27:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554775#M30788</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-12-16T19:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increment the date value in rows based on the coloumn value and duplicate the row values.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554805#M30793</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for the response. here is the sample data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name, Room no., RT., Adlt., Total_Person, Date, Nights, Price, Rate code, Stat., Group&lt;BR /&gt;Voegele, 116, D2D, 2/0/0/0/0, 2, 01/01/2016 ,7, 496, GR02, CO, X1&lt;BR /&gt;Petersen, 103, D2D, 2/0/0/0/0, 2, 05/01/2016, 2, 330, ARH Import, CO, X2&lt;BR /&gt;Michelin, 205, D2D, 2/0/0/0/0, 3, 07/01/2016, 5, 319, ARH04 ,CO ,X3&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 19:54:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1554805#M30793</guid>
      <dc:creator>zeusturbo</dc:creator>
      <dc:date>2020-12-16T19:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to increment the date value in rows based on the coloumn value and duplicate the row values.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1557592#M30884</link>
      <description>&lt;P&gt;It's dead easy if you use Power Query to do this. And in truth, it should be done via Power Query, not in DAX. DAX is not suitable for this kind of data manipulation. Power Query is.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 20:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-to-increment-the-date-value-in-rows-based-on-the-coloumn/m-p/1557592#M30884</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2020-12-17T20:09:55Z</dc:date>
    </item>
  </channel>
</rss>

