<?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: Help! How do I roll forward the latest value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4334347#M172087</link>
    <description>&lt;P&gt;= give me a result display in individual months only,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Give me result display every month,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any other DAX formula can help me fix my problem?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confounded_face:"&gt;😖&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 06:29:57 GMT</pubDate>
    <dc:creator>AKath_12</dc:creator>
    <dc:date>2024-12-18T06:29:57Z</dc:date>
    <item>
      <title>Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4323096#M171630</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a set of data carrying a value each year, by different locations; the value could be different, too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the value only comes in once per year on a specific month, however, I need this value to roll forward to the following months, until a new value comes in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Inactive relationship with the calendar table.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the current DAX formula I am using (Not sure where goes wrong),&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Latest Value =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_LatestValue&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Result table'&lt;/SPAN&gt;&lt;SPAN&gt;[Value]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[FYP_Key]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Result table'&lt;/SPAN&gt;&lt;SPAN&gt;[Completed_MonthYear]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL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;&lt;SPAN&gt;_______________________________________________________________________________________________________________&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Instead of giving me the latest value, it only shows the maximum value over the years.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;The data should show from April 2019 each month onwards till Apr 2022 is 2.1, whereby May 2022 till May 2023 is 2.3, and June 2023 till March 2024 is 1.2.&amp;nbsp;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Here is the dataset:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1fR9R1Yl2Zs1NaE5zeBWEt5Hn8X08MZy-/view?usp=drive_link" target="_blank"&gt;https://drive.google.com/file/d/1fR9R1Yl2Zs1NaE5zeBWEt5Hn8X08MZy-/view?usp=drive_link&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please help and point out to me where goes wrong.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 06:57:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4323096#M171630</guid>
      <dc:creator>AKath_12</dc:creator>
      <dc:date>2024-12-11T06:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4323447#M171643</link>
      <description>&lt;P&gt;The relationship from Calendar to 'Result table' is wrong - 'Result table' is filtering Calendar not the other way around. Delete the relationship and create a one-to-many relationship from Calendar to 'Result table'[Completed date] and your code should work.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 09:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4323447#M171643</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-11T09:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4326925#M171779</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No matter how I change the relationship, after deleting the relationship and re-creating a new one,&amp;nbsp; it just automatically goes back to the Result table filter Calendar with many to one cardinality.&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 00:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4326925#M171779</guid>
      <dc:creator>AKath_12</dc:creator>
      <dc:date>2024-12-13T00:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4327666#M171801</link>
      <description>&lt;P&gt;There should be a date column in your calendar table, with one date for each day of the years you need to cover. Link that column to a date column in your Result table. If there isn't a date column in your Result table, e.g. because there's just a year &amp;amp; month, create one using either DAX or Power Query set to the first day of the month and use that to link to the calendar table.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 09:21:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4327666#M171801</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-13T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4330519#M171901</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a date ([Calendar]) in the Calendar table, and changed the column format, as below:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;and, there is a date column in my result table as well:-&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;when I tried to link these 2 columns, the relationship automatically changed to the Result table filter Calendar table again with Many to one cardinality.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":loudly_crying_face:"&gt;😭&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":loudly_crying_face:"&gt;😭&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 09:28:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4330519#M171901</guid>
      <dc:creator>AKath_12</dc:creator>
      <dc:date>2024-12-16T09:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4330562#M171903</link>
      <description>&lt;P&gt;How very strange. I cannot replicate this behaviour, when I use your code it still allows me to create proper one-to-many relationships in the right direction.&lt;/P&gt;
&lt;P&gt;The only thing I can suggest is to modify your code a little. You don't need to add the [Calendar] column as the CALENDAR function already gives you a [Date] column. Also, there is no need for the SUMMARIZE - the table is already at the granularity of one day, which is what you need, so there is nothing for SUMMARIZE to do.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 09:48:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4330562#M171903</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-16T09:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4332149#M171992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. This is the relationship auto-corrected by the PBI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I got a better result displayed, however, still not what I am looking for, for example, 1.99 should carry forward to 202307 till 202403 and 1.22 from 202404 till 202412, however, this is not happening with this DAX formula. It displayed with the Max value 2.33 instead. Any idea how this can be adjusted? Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Tue, 17 Dec 2024 05:43:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4332149#M171992</guid>
      <dc:creator>AKath_12</dc:creator>
      <dc:date>2024-12-17T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4332761#M172010</link>
      <description>&lt;P&gt;The relationship looks correct now.&lt;/P&gt;
&lt;P&gt;What is the purpose of 'Result table'[Location] &amp;gt; _byLocation? Should it not be = ?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:50:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4332761#M172010</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2024-12-17T09:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4334347#M172087</link>
      <description>&lt;P&gt;= give me a result display in individual months only,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Give me result display every month,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any other DAX formula can help me fix my problem?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confounded_face:"&gt;😖&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 06:29:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4334347#M172087</guid>
      <dc:creator>AKath_12</dc:creator>
      <dc:date>2024-12-18T06:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help! How do I roll forward the latest value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4334367#M172091</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="603653" data-lia-user-login="AKath_12" class="lia-mention lia-mention-user"&gt;AKath_12&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you check access permission , I'm not able to access your dataset.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 06:42:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-How-do-I-roll-forward-the-latest-value/m-p/4334367#M172091</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-12-18T06:42:03Z</dc:date>
    </item>
  </channel>
</rss>

