<?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: DAX expression to get records that have not been updated in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4343090#M172449</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="663201" data-lia-user-login="rsrajkumar" class="lia-mention lia-mention-user"&gt;rsrajkumar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all thanks to&amp;nbsp;Kedar_Pande&amp;nbsp;for the quick reply and solution. I noticed that you also want to count the total number of records where the case has not been updated for more than 10 days, then you can create another measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1)&amp;nbsp;My test data is the same as yours.&lt;/P&gt;
&lt;P&gt;(2) We can create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count =
COUNTROWS (
    FILTER (
        SUMMARIZE ( 'Table', [Case Number], "flag", [CasesNotUpdated] ),
        [flag] = 1
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;(3)&amp;nbsp;Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2024 02:36:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-12-26T02:36:42Z</dc:date>
    <item>
      <title>DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341161#M172395</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For the below table, I would like to know the 'Case Number' that have not been updated for the past 10 days by looking at the 'Modified Date' column .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Case Number&lt;/TD&gt;&lt;TD&gt;Created Date&lt;/TD&gt;&lt;TD&gt;Modified Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15606704&lt;/TD&gt;&lt;TD&gt;11-Dec-24&lt;/TD&gt;&lt;TD&gt;11-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15611766&lt;/TD&gt;&lt;TD&gt;10-Dec-24&lt;/TD&gt;&lt;TD&gt;12-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15611766&lt;/TD&gt;&lt;TD&gt;10-Dec-24&lt;/TD&gt;&lt;TD&gt;11-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15616992&lt;/TD&gt;&lt;TD&gt;10-Dec-24&lt;/TD&gt;&lt;TD&gt;23-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15617299&lt;/TD&gt;&lt;TD&gt;12-Dec-24&lt;/TD&gt;&lt;TD&gt;17-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15618894&lt;/TD&gt;&lt;TD&gt;12-Dec-24&lt;/TD&gt;&lt;TD&gt;19-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15618894&lt;/TD&gt;&lt;TD&gt;12-Dec-24&lt;/TD&gt;&lt;TD&gt;12-Dec-24&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result for the above table should be as below for today ie 23-Dec-2024&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Case Numbers not updated for the past 10 days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15606704&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15611766&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Request help on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2024 21:56:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341161#M172395</guid>
      <dc:creator>rsrajkumar</dc:creator>
      <dc:date>2024-12-23T21:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341215#M172398</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Not updated for past 10 days = CALCULATE(MAX(Case_Records[Case Number]),FILTER(
        Case_Records,
        NOT(
            Case_Records[Modified Date] &amp;gt;= TODAY() - 10 &amp;amp;&amp;amp;
            Case_Records[Modified Date] &amp;lt;= TODAY()
        )))&lt;/LI-CODE&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, 23 Dec 2024 23:42:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341215#M172398</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-12-23T23:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341231#M172399</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777262" data-lia-user-login="SachinNandanwar" class="lia-mention lia-mention-user"&gt;SachinNandanwar&lt;/a&gt;&amp;nbsp;. This was not working for me. It should not return 15618894 as that record was updated on 19-Dec-2024. It should return&amp;nbsp;&lt;SPAN&gt;15606704 as it was last modified on 11-Dec-2024&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 00:36:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341231#M172399</guid>
      <dc:creator>rsrajkumar</dc:creator>
      <dc:date>2024-12-24T00:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341289#M172402</link>
      <description>&lt;P&gt;Sorry I didnt realise that some case numbers will have update dates that fall both within and outside the 10-day interval.&lt;BR /&gt;&lt;BR /&gt;Here is the calculated table approach&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Final_Table=

       Var _tbl=SUMMARIZECOLUMNS(Case_Records[Case Number] ,  FILTER(
        Case_Records,
        (
            Case_Records[Modified Date] &amp;gt;= TODAY() - 10 &amp;amp;&amp;amp;
            Case_Records[Modified Date] &amp;lt;= TODAY()
        )))
        RETURN  
   
  FILTER(
       DISTINCT( SELECTCOLUMNS(Case_Records,Case_Records[Case Number])),
        NOT(Case_Records[Case Number] IN (SELECTCOLUMNS(_tbl, Case_Records[Case Number]))
    ))       &lt;/LI-CODE&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>Tue, 24 Dec 2024 01:34:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341289#M172402</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-12-24T01:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341449#M172405</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777262" data-lia-user-login="SachinNandanwar" class="lia-mention lia-mention-user"&gt;SachinNandanwar&lt;/a&gt;&amp;nbsp;. When there are multiple rows for the same Case Number and some of the Last Updated Dates are more than 10 days, and a few less than 10 days, which part of the DAX expression takes care of this? Am asking this because, my actual table has more records and some of them are not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 03:37:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341449#M172405</guid>
      <dc:creator>rsrajkumar</dc:creator>
      <dc:date>2024-12-24T03:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341610#M172410</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="663201" data-lia-user-login="rsrajkumar" class="lia-mention lia-mention-user"&gt;rsrajkumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a measure&lt;/P&gt;&lt;PRE&gt;CasesNotUpdated =&lt;BR /&gt;VAR LastModified =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;MAX(Table[Modified Date]),&lt;BR /&gt;ALLEXCEPT(Table, Table[Case Number])&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;DATEDIFF(LastModified, TODAY(), DAY) &amp;gt; 10,&lt;BR /&gt;1,&lt;BR /&gt;0&lt;BR /&gt;)&lt;/PRE&gt;&lt;P&gt;Use this measure in a visual (e.g., a table or slicer) to filter Case Numbers where the measure equals 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":love_letter:"&gt;💌&lt;/span&gt; &lt;STRONG&gt;If this helped, a Kudos &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; or Solution mark &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; would be great! &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Kedar&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="https://www.linkedin.com/in/kedar-pande" target="_blank" rel="noopener"&gt;Connect on LinkedIn&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 06:03:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341610#M172410</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2024-12-24T06:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341668#M172412</link>
      <description>&lt;P&gt;Its the filter with the NOT IN clause takes care of it&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FILTER(
       DISTINCT( SELECTCOLUMNS(Case_Records,Case_Records[Case Number])),
        NOT(Case_Records[Case Number] IN (SELECTCOLUMNS(_tbl, Case_Records[Case Number]))
    ))     &lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 24 Dec 2024 06:42:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4341668#M172412</guid>
      <dc:creator>SachinNandanwar</dc:creator>
      <dc:date>2024-12-24T06:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4342160#M172427</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568855" data-lia-user-login="Kedar_Pande" class="lia-mention lia-mention-user"&gt;Kedar_Pande&lt;/a&gt;&amp;nbsp;Thanks a lot. It works as intended. I would like to count the total records for which the case has not been updated for more than 10 days. While applying a filter for 'CasesNotUpdated' works on the table, it does not allow applying to a Card.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 13:26:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4342160#M172427</guid>
      <dc:creator>rsrajkumar</dc:creator>
      <dc:date>2024-12-24T13:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4342161#M172428</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777262" data-lia-user-login="SachinNandanwar" class="lia-mention lia-mention-user"&gt;SachinNandanwar&lt;/a&gt;&amp;nbsp;. I learnt something new from you on creating tables , and a few new functions!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 13:29:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4342161#M172428</guid>
      <dc:creator>rsrajkumar</dc:creator>
      <dc:date>2024-12-24T13:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4343090#M172449</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="663201" data-lia-user-login="rsrajkumar" class="lia-mention lia-mention-user"&gt;rsrajkumar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all thanks to&amp;nbsp;Kedar_Pande&amp;nbsp;for the quick reply and solution. I noticed that you also want to count the total number of records where the case has not been updated for more than 10 days, then you can create another measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(1)&amp;nbsp;My test data is the same as yours.&lt;/P&gt;
&lt;P&gt;(2) We can create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count =
COUNTROWS (
    FILTER (
        SUMMARIZE ( 'Table', [Case Number], "flag", [CasesNotUpdated] ),
        [flag] = 1
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;(3)&amp;nbsp;Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 02:36:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4343090#M172449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-26T02:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: DAX expression to get records that have not been updated</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4343993#M172497</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;Anonymous&lt;/a&gt;,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568855" data-lia-user-login="Kedar_Pande" class="lia-mention lia-mention-user"&gt;Kedar_Pande&lt;/a&gt;&amp;nbsp;, and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="777262" data-lia-user-login="SachinNandanwar" class="lia-mention lia-mention-user"&gt;SachinNandanwar&lt;/a&gt;&amp;nbsp;. All the proposed solution by you works well!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 01:13:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-expression-to-get-records-that-have-not-been-updated/m-p/4343993#M172497</guid>
      <dc:creator>rsrajkumar</dc:creator>
      <dc:date>2024-12-27T01:13:51Z</dc:date>
    </item>
  </channel>
</rss>

