<?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: Display records to show status change week over week in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360064#M126316</link>
    <description>&lt;P&gt;2 means that the start of week is on monday 1 means start of week is sunday, and can you explain more yoir expected results please&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 15:59:30 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-08-01T15:59:30Z</dc:date>
    <item>
      <title>Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360003#M126310</link>
      <description>&lt;P&gt;Hi - my data is refreshed every week.&amp;nbsp; How do I track and display records where the status (column) changed from New last week to Pending this week?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Description&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/17/2023&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;AAAAA&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/17/2023&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;BBBBB&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/31/2023&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;AAAAA&lt;/TD&gt;&lt;TD&gt;Pending&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7/31/2023&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;CCCCC&lt;/TD&gt;&lt;TD&gt;New&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want my results to only show the record with ID #1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:23:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360003#M126310</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-01T15:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360039#M126311</link>
      <description>&lt;P&gt;If( WEEKNUM(TODAY(),2) = WEEKNUM(MAX([Date]),2), "Pending","New")&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:50:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360039#M126311</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-08-01T15:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360059#M126314</link>
      <description>&lt;P&gt;What does the 2 indicate in your formula?&amp;nbsp; Is there a way to make this dynamic so it tracks more statuses?&amp;nbsp; It could go from Pending to Completed or New to Completed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:56:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360059#M126314</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-01T15:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360064#M126316</link>
      <description>&lt;P&gt;2 means that the start of week is on monday 1 means start of week is sunday, and can you explain more yoir expected results please&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 15:59:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360064#M126316</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-08-01T15:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360230#M126323</link>
      <description>&lt;P&gt;My week will always start on a Monday and there are about 7 different status and ID goes through in it's workflow.&amp;nbsp; An ID can stay in a status for weeks and then change to a different status in 8 weeks. I need my result to display this RECORD that recently changed.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 17:53:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360230#M126323</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-01T17:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360237#M126325</link>
      <description>&lt;P&gt;So technically you want that if a status changes per id , it shows what it was before? Im sorry if im not understanding you well . It would greatly help to show an expected result table&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 18:02:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3360237#M126325</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-08-01T18:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3361835#M126403</link>
      <description>I wanted the expected table to give me the most recent record that had the change. Original: Date ID Description Status 7/17/2023 1 AAAAA New 7/17/2023 1 BBBBB New 7/31/2023 1 AAAAA Pending 7/31/2023 2 CCCCC New Expected outcome to look like this: Date ID Description Status 7/31/2023 1 AAAAA Pending</description>
      <pubDate>Wed, 02 Aug 2023 13:43:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3361835#M126403</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-02T13:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3361843#M126405</link>
      <description>&lt;P&gt;I wanted the expected table to give me the most recent record that had the change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original:&lt;/P&gt;&lt;P&gt;Date ID Description Status&lt;/P&gt;&lt;P&gt;7/17/2023 1 AAAAA New&lt;/P&gt;&lt;P&gt;7/17/2023 1 BBBBB New&lt;/P&gt;&lt;P&gt;7/31/2023 1 AAAAA Pending&lt;/P&gt;&lt;P&gt;7/31/2023 2 CCCCC New&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected outcome to look like this:&lt;/P&gt;&lt;P&gt;Date ID Description Status&lt;/P&gt;&lt;P&gt;7/31/2023 1 AAAAA Pending&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 13:45:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3361843#M126405</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-02T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3362888#M126441</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594193" data-lia-user-login="jenmar2023" class="lia-mention lia-mention-user"&gt;jenmar2023&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Accoridng to your description, &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;your data is refreshed every week. You want to judge the data that has changed in the latest STATUS based on ID. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Because the status of ID = 1 has changed last week, it needs to be displayed; Status of ID = 2 does not exist last week, so it is not displayed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If this , here are the steps you can refer to :&lt;BR /&gt;(1)This is my test data:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create&amp;nbsp; a measure like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measure = var _pre_week = CALCULATE( MAX('Table'[Status]) , 'Table'[ID]=MAX('Table'[ID]) , 'Table'[Date]&amp;lt;MAX('Table'[Date]),ALL())&lt;BR /&gt;return&lt;BR /&gt;IF(_pre_week=BLANK() , BLANK(), IF(MAX('Table'[Status]) &amp;lt;&amp;gt; _pre_week , 1,BLANK()))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then we can put this measure on the "FIlter on this visual":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this method does not meet your needs, you can provide us with your special &lt;STRONG&gt;sample data and the &lt;STRONG&gt;desired output sample data in the form of &lt;STRONG&gt;tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;EM&gt; it as the solution&amp;nbsp;to help the other members find it more quickly&lt;/EM&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 04:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3362888#M126441</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-08-03T04:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3363910#M126475</link>
      <description>&lt;P&gt;I'll try it out and let you know. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:11:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3363910#M126475</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-03T15:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3366101#M126574</link>
      <description>&lt;P&gt;I get an error that the expression refers to multiple columns. Multiple columsn cannot be converted to a scalar value&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 19:48:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3366101#M126574</guid>
      <dc:creator>jenmar2023</dc:creator>
      <dc:date>2023-08-04T19:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display records to show status change week over week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3366323#M126585</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="594193" data-lia-user-login="jenmar2023" class="lia-mention lia-mention-user"&gt;jenmar2023&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you for your reply. According to your description, this dax code is reported as an error on your side. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Can you give me some test data that produces this error? &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Then provide me with the data you want to output in tabular form. &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Or you can also create a sample.pbix file containing this error message, then upload it to OneDrive, and give me the link share, so that I can help you better~&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;EM&gt; it as the solution&amp;nbsp;to help the other members find it more quickly&lt;/EM&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2023 00:30:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-to-show-status-change-week-over-week/m-p/3366323#M126585</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2023-08-05T00:30:01Z</dc:date>
    </item>
  </channel>
</rss>

