<?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: Identify tasks with current date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4282524#M169958</link>
    <description>&lt;P&gt;Thank you! My coworker helped me come up with the formula. I had to turn the project in before i heard back from here. I appreciate your help!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 21:04:49 GMT</pubDate>
    <dc:creator>PC2022</dc:creator>
    <dc:date>2024-11-13T21:04:49Z</dc:date>
    <item>
      <title>Identify tasks with current date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4280503#M169879</link>
      <description>&lt;P&gt;I need to write dax that will identify tasks that are taking place as of today (from the example below it should only be "JPA". If the task has been 100% complete, it shouldn't be included in the result. I am not sure what function to use. Thank you!&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>Tue, 12 Nov 2024 20:22:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4280503#M169879</guid>
      <dc:creator>PC2022</dc:creator>
      <dc:date>2024-11-12T20:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identify tasks with current date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4280918#M169892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="403139" data-lia-user-login="PC2022" class="lia-mention lia-mention-user"&gt;PC2022&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to write a measure like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count = 
COUNTROWS(
    CALCULATETABLE(
        VALUES(data[Name]),
        FILTER(
            data,
            data[start]&amp;lt;=TODAY()
                &amp;amp;&amp;amp;data[finish]&amp;gt;=TODAY()
        )
    )
)

or 

List = 
CONCATENATEX(
    CALCULATETABLE(
        VALUES(data[Name]),
        FILTER(
            data,
            data[start]&amp;lt;=TODAY()
                &amp;amp;&amp;amp;data[finish]&amp;gt;=TODAY()
        )
    ),
    data[Name],
    ", "
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Nov 2024 03:57:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4280918#M169892</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-11-13T03:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identify tasks with current date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4282524#M169958</link>
      <description>&lt;P&gt;Thank you! My coworker helped me come up with the formula. I had to turn the project in before i heard back from here. I appreciate your help!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 21:04:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4282524#M169958</guid>
      <dc:creator>PC2022</dc:creator>
      <dc:date>2024-11-13T21:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Identify tasks with current date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4282735#M169975</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="403139" data-lia-user-login="PC2022" class="lia-mention lia-mention-user"&gt;PC2022&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear you solved the problem!&amp;nbsp;Could you please mark the solution as an ANSWER?&amp;nbsp;This will help more users who are facing the same or similar difficulties. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 01:38:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4282735#M169975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-14T01:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Identify tasks with current date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4283106#M169991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="403139" data-lia-user-login="PC2022" class="lia-mention lia-mention-user"&gt;PC2022&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To create a DAX measure to identify tasks that are active as of today (and are not 100% complete), you can use a combination of IF, AND, TODAY, and filtering functions like FILTER to isolate the tasks that meet your criteria. Assuming you have columns for task start and end dates, as well as a completion status, here’s how you can approach it.&lt;/P&gt;&lt;P&gt;Suppose:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Start Date&lt;/STRONG&gt; column represents the start date of the task.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;End Date&lt;/STRONG&gt; column represents the end date of the task.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Completion&lt;/STRONG&gt; column represents the task completion percentage.&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="markup"&gt;Active Tasks =
IF (
    AND (
        TODAY () &amp;gt;= [Start Date],
        TODAY () &amp;lt;= [End Date],
        [Completion] &amp;lt; 100
    ),
    1, // Indicating that the task is active
    0 // Not active or 100% complete
)&lt;/LI-CODE&gt;&lt;H3&gt;How to Use This Measure&lt;/H3&gt;&lt;P&gt;You can add this measure to a table visual and then filter it to only show rows where the measure equals 1. This should allow you to see only tasks that are currently in progress as of today and not yet completed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution, this will help others!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If my response(s) assisted you in any way, don't forget to drop me a "&lt;STRONG&gt;Kudos&lt;/STRONG&gt;" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Poojara&lt;BR /&gt;Data Analyst | MSBI Developer | Power BI Consultant&lt;BR /&gt;&lt;STRONG&gt;YouTube&lt;/STRONG&gt;: &lt;A href="https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS" target="_blank"&gt;https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 05:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-tasks-with-current-date/m-p/4283106#M169991</guid>
      <dc:creator>Poojara_D12</dc:creator>
      <dc:date>2024-11-14T05:56:58Z</dc:date>
    </item>
  </channel>
</rss>

