<?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 How to populate future value in date column according to due date column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3504248#M134425</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;I am new to Power BI.&lt;BR /&gt;&lt;BR /&gt;I have to allocate resource based on two field&lt;BR /&gt;1. Allocation Month-(Jan,Feb,Mar)&lt;BR /&gt;2. Start Period( Jan 2023, May 2024)&lt;BR /&gt;&lt;BR /&gt;I need to populate future allocation according to month date&lt;BR /&gt;Example : If my allocation Start in May 2024 and Allocation Month (Jan,Mar,May,July)&lt;BR /&gt;My data should populate in May 2024,July 2024, Jan 2025,Mar 2025, etc&lt;BR /&gt;&lt;BR /&gt;Is there any way I can populate date table according to this logic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to populate like this for the hours&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2023 09:54:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-30T09:54:17Z</dc:date>
    <item>
      <title>How to populate future value in date column according to due date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3504248#M134425</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I am new to Power BI.&lt;BR /&gt;&lt;BR /&gt;I have to allocate resource based on two field&lt;BR /&gt;1. Allocation Month-(Jan,Feb,Mar)&lt;BR /&gt;2. Start Period( Jan 2023, May 2024)&lt;BR /&gt;&lt;BR /&gt;I need to populate future allocation according to month date&lt;BR /&gt;Example : If my allocation Start in May 2024 and Allocation Month (Jan,Mar,May,July)&lt;BR /&gt;My data should populate in May 2024,July 2024, Jan 2025,Mar 2025, etc&lt;BR /&gt;&lt;BR /&gt;Is there any way I can populate date table according to this logic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to populate like this for the hours&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 09:54:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3504248#M134425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-30T09:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate future value in date column according to due date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3510026#M134678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us about this problem. I'm not clear about your requirement. Could you&amp;nbsp;&lt;SPAN&gt;please provide some&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;raw data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in your tables (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;) with&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;format and your&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;with backend logic and special examples. It would be helpful to find out the solution. You can refer the following link to share the required info:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7CClaire.Dong%40microsoft.com%7Cada9149bd91546a8432508dacd31ef9b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638047911607737134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=EJlYfclgtrjgAEYj9Uo1AauqxaQm3hlQsjJMo4zCY1M%3D&amp;amp;reserved=0" target="_blank" rel="nofollow noopener noreferrer"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;pbix file. You can refer the following link to upload the file to the community. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FDesktop%2FHow-to-upload-PBI-in-Community%2Fm-p%2F1672886&amp;amp;data=04%7C01%7Cv-yiruan%40microsoft.com%7C4f580813734d4a8355b008da16f6e91a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637847547341062885%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=YJvujige2YITXKbKED9JieQm5LBdf%2F3IYPM4ggdiijQ%3D&amp;amp;reserved=0" target="_blank" rel="nofollow noopener noreferrer"&gt;How to upload PBI in Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 15:47:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3510026#M134678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-01T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate future value in date column according to due date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3511006#M134721</link>
      <description>&lt;P&gt;I have figured out how to solve this in Power Query&lt;BR /&gt;&lt;BR /&gt;First I create a today column in Power Query&lt;BR /&gt;Date.From(DateTime.LocalNow())&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;2. Then I create End Date based on how long I want the data to be populate&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;3. Then I create a custom column based on my first start date(GO LIVE DEL PERIOD) and End Date&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{Number.From([#"GO LIVE(DEL PERIOD)"])..Number.From([EndDate])}&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Expand the custom list&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;5. Changed the Custom column(Dates) into Date Type&lt;BR /&gt;6. Duplicate the column.&amp;nbsp;(Dates-copy) This will be used to take only one ddate each month&lt;/P&gt;&lt;P&gt;7. Transform the column(Dates) into End of Month&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;8. Add Custom column for the condition to filter only the end of the month&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;9. Filter the condition =1&lt;/P&gt;&lt;P&gt;10. To filter the row based on due month, create another condition column&lt;BR /&gt;My data All mean will occur every month.&lt;BR /&gt;&lt;BR /&gt;if [DUE MONTHS] = "All" then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Jan") and Date.Month([End of Month])=1 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Feb") and Date.Month([End of Month])=2 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Mar") and Date.Month([End of Month])=3 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Apr") and Date.Month([End of Month])=4 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"May") and Date.Month([End of Month])=5 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Jun") and Date.Month([End of Month])=6 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Jul") and Date.Month([End of Month])=7 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Aug") and Date.Month([End of Month])=8 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Sep") and Date.Month([End of Month])=9 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Oct") and Date.Month([End of Month])=10 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Nov") and Date.Month([End of Month])=11 then 1&lt;BR /&gt;else if Text.Contains([DUE MONTHS],"Dec") and Date.Month([End of Month])=12 then 1 else 0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;11. Filter only Condition 2 equal =1&lt;BR /&gt;&lt;BR /&gt;12. Data is already populate according to future month and due month.&lt;BR /&gt;&lt;BR /&gt;I follow this youtube tutorial for this solution&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=tnjzIq7jinQ&amp;amp;t=456s&amp;amp;pp=ygUrcG9wdWxhdGUgbW9udGggc3RhcnQgZGF0ZSBlbmQgZGF0ZSBwb3dlciBiaQ%3D%3D" target="_blank"&gt;https://www.youtube.com/watch?v=tnjzIq7jinQ&amp;amp;t=456s&amp;amp;pp=ygUrcG9wdWxhdGUgbW9udGggc3RhcnQgZGF0ZSBlbmQgZGF0ZSBwb3dlciBiaQ%3D%3D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 04:13:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3511006#M134721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-02T04:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate future value in date column according to due date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3511011#M134722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. It will help the others in the community find the solution &lt;STRONG&gt;&lt;SPAN&gt;easily&lt;/SPAN&gt;&lt;/STRONG&gt; if they face the same problem as yours. &amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 04:18:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-populate-future-value-in-date-column-according-to-due/m-p/3511011#M134722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-02T04:18:39Z</dc:date>
    </item>
  </channel>
</rss>

