<?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: Get difference between values in a column preceding each other by date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1804148#M38087</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really thank you for your responsive reply.&lt;/P&gt;&lt;P&gt;I have solved the issue by getting also the specific time with the date, so there is no duplication in the data structure as you said.&lt;/P&gt;&lt;P&gt;Great respect for your support.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Apr 2021 10:08:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-04-25T10:08:22Z</dc:date>
    <item>
      <title>Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778478#M37325</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a scenario that i want to apply.&lt;/P&gt;&lt;P&gt;I want to create a new column that holds the difference between each 2 preceding values based on date.&lt;/P&gt;&lt;P&gt;for example :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Value&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Difference&lt;/P&gt;&lt;P&gt;15/5/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 125&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;19/5/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 127&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;20/5/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 134&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7&lt;/P&gt;&lt;P&gt;23/5/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 135&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and so on ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, How can i achieve this ? i want to plot it on a line chart also based on the calculated column.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 13:09:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778478#M37325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-11T13:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778494#M37327</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.&lt;/P&gt;&lt;P&gt;I created a new column, and it is not a calculated measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/rqys8dykshli41w/mamr.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/rqys8dykshli41w/mamr.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;EM&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 13:37:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778494#M37327</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-11T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778543#M37331</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your responsive reply.&lt;/P&gt;&lt;P&gt;I have applied the query you have mentioned, But i get some strange values, that are presented in the attached screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I make a filter on specific "Account" column to "Al Futtiam Comme" to validate the results on the line chart.&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>Sun, 11 Apr 2021 15:16:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778543#M37331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-11T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778552#M37332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;The reason is that the table structure is different between the sample shown in your first question and the screenshot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is OK with you, please share your sample pbix file's link, then I can try to come up with a more accurate solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 15:26:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778552#M37332</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-11T15:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778557#M37333</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;This is the link for my pbix file.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1GzdNxzjOXTco0DaBFf_S7Hvl5CKh7ngP/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1GzdNxzjOXTco0DaBFf_S7Hvl5CKh7ngP/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 15:33:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778557#M37333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-11T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778558#M37334</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can download your pbix file, but I cannot connect to your source, and cannot see your data properly.&lt;/P&gt;&lt;P&gt;I think you should make a new sample file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, copy the table, and create a new pbix file, paste the table into the new pbix file, then delete some of the importance information, then share the new pbix file's link.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 15:56:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778558#M37334</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-11T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778559#M37335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are right.&lt;/P&gt;&lt;P&gt;Here is the sample pbix file link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/14lYQe8lJqftpCC4edo7Nz8jb5gNt9Yly/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/14lYQe8lJqftpCC4edo7Nz8jb5gNt9Yly/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 16:11:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778559#M37335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-11T16:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778725#M37343</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This calculation belong to Power Query, not DAX. Just to let you know. If your table is big (think: fact table), the calculation given by&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;will be way too slow due to context transition(s).&lt;/P&gt;</description>
      <pubDate>Sun, 11 Apr 2021 23:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778725#M37343</guid>
      <dc:creator>daxer-almighty</dc:creator>
      <dc:date>2021-04-11T23:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778974#M37352</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one question.&lt;/P&gt;&lt;P&gt;There were two lines found that indicate the same information except the Record.&lt;/P&gt;&lt;P&gt;For instance,&lt;/P&gt;&lt;P&gt;2020 Oct 1st -&amp;gt; CAE-HQ&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two records are found (6625 and 8184). May I ask how to differentiate these? Or, can I just sum up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 03:06:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1778974#M37352</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-12T03:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get difference between values in a column preceding each other by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1804148#M38087</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really thank you for your responsive reply.&lt;/P&gt;&lt;P&gt;I have solved the issue by getting also the specific time with the date, so there is no duplication in the data structure as you said.&lt;/P&gt;&lt;P&gt;Great respect for your support.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Apr 2021 10:08:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-difference-between-values-in-a-column-preceding-each-other/m-p/1804148#M38087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-25T10:08:22Z</dc:date>
    </item>
  </channel>
</rss>

