<?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 Count Number of Projects Integrating in the next 60 days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4361972#M173178</link>
    <description>&lt;P&gt;Hello! I feel like this is probably an easy one that's been answered in the past, but I've been searching and haven't found an answer that works for me. I have a table with "Integration" dates for projects. I'd like to have a measure that counts how many rows have integration dates within the next 60 days (including today) so that I can throw it into a card to display the count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a card doing a count of the projects with a filter type of Integration where Relative Date is in the next 60 days, and that works if they have projects in that time period, but I also want it to show 0 if they have none opening in the next 60 days instead of "blank" and I don't seem to be able to get that to work unless the count is in a measure that I can add &lt;STRONG&gt;+0&lt;/STRONG&gt; to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table is called &lt;STRONG&gt;MPL&lt;/STRONG&gt; and the column that I'm focusing on is called &lt;STRONG&gt;Integration&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2025 17:47:41 GMT</pubDate>
    <dc:creator>Gandarthvader</dc:creator>
    <dc:date>2025-01-13T17:47:41Z</dc:date>
    <item>
      <title>Count Number of Projects Integrating in the next 60 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4361972#M173178</link>
      <description>&lt;P&gt;Hello! I feel like this is probably an easy one that's been answered in the past, but I've been searching and haven't found an answer that works for me. I have a table with "Integration" dates for projects. I'd like to have a measure that counts how many rows have integration dates within the next 60 days (including today) so that I can throw it into a card to display the count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a card doing a count of the projects with a filter type of Integration where Relative Date is in the next 60 days, and that works if they have projects in that time period, but I also want it to show 0 if they have none opening in the next 60 days instead of "blank" and I don't seem to be able to get that to work unless the count is in a measure that I can add &lt;STRONG&gt;+0&lt;/STRONG&gt; to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table is called &lt;STRONG&gt;MPL&lt;/STRONG&gt; and the column that I'm focusing on is called &lt;STRONG&gt;Integration&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your help!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 17:47:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4361972#M173178</guid>
      <dc:creator>Gandarthvader</dc:creator>
      <dc:date>2025-01-13T17:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of Projects Integrating in the next 60 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4362377#M173189</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="902026" data-lia-user-login="Gandarthvader" class="lia-mention lia-mention-user"&gt;Gandarthvader&lt;/a&gt; .I am glad to help you.&lt;BR /&gt;Like this?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I created the following test data based on your description.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;This is my test code:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CountProjectsNext60Days = 
VAR TodayDate = TODAY()
VAR Next60DaysDate = TodayDate + 60
RETURN
CALCULATE(
    COUNTROWS(MPL),
    MPL[Integration] &amp;gt;= TodayDate,
    MPL[Integration] &amp;lt;= Next60DaysDate
) + 0&lt;/LI-CODE&gt;
&lt;P&gt;How many projects have “Integration” dates in the next 60 days (including today), and if there is nothing in the calculation environment to satisfy this, the measure will return blank.&lt;BR /&gt;But I added “+0” to the result.&lt;BR /&gt;This ensures that if there are no projects, the final result will show 0 instead of blank.&lt;BR /&gt;&lt;BR /&gt;If my understanding is wrong, please let me know, you can announce the direct copy of the data form to provide your test data, or pbix test files that do not contain sensitive data.&lt;BR /&gt;You can provide the corresponding data and the expected measure results.&lt;BR /&gt;This will help you solve your problem faster.&lt;BR /&gt;&lt;BR /&gt;I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Carson Jian,&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 02:28:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4362377#M173189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-14T02:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of Projects Integrating in the next 60 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4363342#M173230</link>
      <description>&lt;P&gt;Yes, that works perfectly. Thank you so much for the help!!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 13:29:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4363342#M173230</guid>
      <dc:creator>Gandarthvader</dc:creator>
      <dc:date>2025-01-14T13:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of Projects Integrating in the next 60 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4364077#M173254</link>
      <description>&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="902026" data-lia-user-login="Gandarthvader" class="lia-mention lia-mention-user"&gt;Gandarthvader&lt;/a&gt; .Thank you for your reply.&lt;BR /&gt;You are welcome.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 01:09:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-Number-of-Projects-Integrating-in-the-next-60-days/m-p/4364077#M173254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-15T01:09:00Z</dc:date>
    </item>
  </channel>
</rss>

