<?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 Filter dates for the 7 last days with specific criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-dates-for-the-7-last-days-with-specific-criteria/m-p/3723304#M144994</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help me with this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to count the number of persons per day, but only for the last 7 days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For dates that do not appear in the table, the values ​​will be set to 0. But, I only want that for &lt;STRONG&gt;the last 7 days&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;So, for today, it must be in the axis X: from &lt;STRONG&gt;19/02/2024 to 25/02/2024(Today)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;So, I don't want the other dates to appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 08:40:26 GMT</pubDate>
    <dc:creator>game1</dc:creator>
    <dc:date>2024-02-26T08:40:26Z</dc:date>
    <item>
      <title>Filter dates for the 7 last days with specific criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-dates-for-the-7-last-days-with-specific-criteria/m-p/3723304#M144994</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help me with this problem?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to count the number of persons per day, but only for the last 7 days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For dates that do not appear in the table, the values ​​will be set to 0. But, I only want that for &lt;STRONG&gt;the last 7 days&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;So, for today, it must be in the axis X: from &lt;STRONG&gt;19/02/2024 to 25/02/2024(Today)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;So, I don't want the other dates to appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:40:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-dates-for-the-7-last-days-with-specific-criteria/m-p/3723304#M144994</guid>
      <dc:creator>game1</dc:creator>
      <dc:date>2024-02-26T08:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Filter dates for the 7 last days with specific criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-dates-for-the-7-last-days-with-specific-criteria/m-p/3723344#M144996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="659758" data-lia-user-login="game1" class="lia-mention lia-mention-user"&gt;game1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;try this for RETURN:&amp;nbsp; IF( Last7DaysCount &amp;gt; 0, Last7DaysCount, BLANK() )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't want a value to appear, it has to be blank, rather than 0.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 08:57:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-dates-for-the-7-last-days-with-specific-criteria/m-p/3723344#M144996</guid>
      <dc:creator>timalbers</dc:creator>
      <dc:date>2024-02-26T08:57:35Z</dc:date>
    </item>
  </channel>
</rss>

