<?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: calculated column help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450623#M65938</link>
    <description>&lt;P&gt;did not work. He made the date -1 The expected was to bring the date of the previous registration.&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;</description>
    <pubDate>Mon, 11 Apr 2022 22:14:35 GMT</pubDate>
    <dc:creator>RSSILVA_22</dc:creator>
    <dc:date>2022-04-11T22:14:35Z</dc:date>
    <item>
      <title>calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450178#M65911</link>
      <description>&lt;P&gt;I have the following table below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the field "cod client" is repeated several times in the table.&lt;/P&gt;&lt;P&gt;I need a column that shows the largest date, before the current record.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example: "cod de cliente" AAAAAAA tem o último registro com a data 2022-04-11. The next column should show the date 2022-03-05. In this record (2022-03-05) must be the largest datan before it. if there is no previous record show empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help, I'd be grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Arquivo power bi" href="https://drive.google.com/file/d/1HRYhWWKty2YUXNPYnYb_YPZlFbx8sMa7/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1HRYhWWKty2YUXNPYnYb_YPZlFbx8sMa7/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 16:48:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450178#M65911</guid>
      <dc:creator>RSSILVA_22</dc:creator>
      <dc:date>2022-04-11T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450276#M65916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="338091" data-lia-user-login="RSSILVA_22" class="lia-mention lia-mention-user"&gt;RSSILVA_22&lt;/a&gt;&lt;/P&gt;&lt;P&gt;you can try&lt;/P&gt;&lt;LI-CODE lang="php"&gt;Previous Date =
VAR CurrentDate = Table1[date_value]
VAR CurrentClientTable =
    CALCULATETABLE ( Table1, ALLEXCEPT ( Table1, Table1[code_client] ) )
RETURN
    MAXX (
        FILTER ( Table1, Table1[date_value] &amp;lt; CurrentDate ),
        Table1[CurrentDate]
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 11 Apr 2022 17:34:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450276#M65916</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-11T17:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450623#M65938</link>
      <description>&lt;P&gt;did not work. He made the date -1 The expected was to bring the date of the previous registration.&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;</description>
      <pubDate>Mon, 11 Apr 2022 22:14:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450623#M65938</guid>
      <dc:creator>RSSILVA_22</dc:creator>
      <dc:date>2022-04-11T22:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450833#M65948</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="338091" data-lia-user-login="RSSILVA_22" class="lia-mention lia-mention-user"&gt;RSSILVA_22&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Here is the sample file withe workable solution&amp;nbsp;&lt;A href="https://www.dropbox.com/t/KT0CShGmy8yTXvEc" target="_blank"&gt;https://www.dropbox.com/t/KT0CShGmy8yTXvEc&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Previous Date = 
VAR CurrentDate = pratic[date_value]
VAR CurrentClientTable =
    CALCULATETABLE ( pratic, ALLEXCEPT ( pratic, pratic[cod_client] ) )
RETURN
    MAXX (
        FILTER ( CurrentClientTable, pratic[date_value] &amp;lt; CurrentDate ),
        pratic[date_value]
    )&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 02:05:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450833#M65948</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-12T02:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450923#M65963</link>
      <description>&lt;P&gt;Hi tamerj1,&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Thank you for taking the time to review and respond.&lt;/P&gt;&lt;P&gt;It's good to have this community and people like you willing to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 02:57:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450923#M65963</guid>
      <dc:creator>rodrigo09062015</dc:creator>
      <dc:date>2022-04-12T02:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450967#M65966</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="295012" data-lia-user-login="rodrigo09062015" class="lia-mention lia-mention-user"&gt;rodrigo09062015&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Most welcome. I guess you are using two different user accounts. I was little confused &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;If my reply satisfies your requirement, kindly consider marking it as acceptable solution.&lt;/P&gt;&lt;P&gt;Have a great day!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 03:31:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450967#M65966</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-12T03:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: calculated column help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450986#M65968</link>
      <description>&lt;P&gt;hello, that's why I wasn't finding the option to accept a solution. I was logging into the personal computer (user rodrigo09062015) and I forgot that I had posted on the company account.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 03:40:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculated-column-help/m-p/2450986#M65968</guid>
      <dc:creator>RSSILVA_22</dc:creator>
      <dc:date>2022-04-12T03:40:21Z</dc:date>
    </item>
  </channel>
</rss>

