<?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: Categorising and Counting Within a Dynamic Time Period in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4650357#M178007</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Apr 2025 18:14:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-04-13T18:14:51Z</dc:date>
    <item>
      <title>Categorising and Counting Within a Dynamic Time Period</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4643251#M177787</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table similar to the following:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Person ID&lt;/TD&gt;&lt;TD&gt;Form Date&lt;/TD&gt;&lt;TD&gt;Form ID&lt;/TD&gt;&lt;TD&gt;Form Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;01/01/2024&lt;/TD&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;Missing Episode&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;345&lt;/TD&gt;&lt;TD&gt;02/02/2024&lt;/TD&gt;&lt;TD&gt;101&lt;/TD&gt;&lt;TD&gt;Missing Episode&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;567&lt;/TD&gt;&lt;TD&gt;03/03/2024&lt;/TD&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;Found Return&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have a seperate date table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within a dynamic date range (determined by the user using a slicer) I would like to have the % of missing episodes that are considered a repeat missing episode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it would be something like:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Calculate per child how many missing episodes they had within the selected time period, and for children where that figure is more than 1, count the total of missing episodes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Divided by&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Total number of missing episodes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to get my head around how to calculate the first bit of the equation, if it's possible at all?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 13:32:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4643251#M177787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-08T13:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Categorising and Counting Within a Dynamic Time Period</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4643258#M177788</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Create a measure to count the total number of missing episodes:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;TotalMissingEpisodes = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;'Table'[Form Name] = "Missing Episode"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure to count the number of repeat missing episodes:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;RepeatMissingEpisodes = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;'Table'[Form Name] = "Missing Episode",&lt;BR /&gt;FILTER(&lt;BR /&gt;'Table',&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS('Table'),&lt;BR /&gt;'Table'[Person ID] = EARLIER('Table'[Person ID]),&lt;BR /&gt;'Table'[Form Name] = "Missing Episode"&lt;BR /&gt;) &amp;gt; 1&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a measure to calculate the percentage of repeat missing episodes:&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;PercentageRepeatMissingEpisodes = &lt;BR /&gt;DIVIDE(&lt;BR /&gt;[RepeatMissingEpisodes],&lt;BR /&gt;[TotalMissingEpisodes],&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensure your date slicer is connected to the date table and the main table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add a card visual to display the PercentageRepeatMissingEpisodes measure.&lt;BR /&gt;Add a slicer visual to allow users to select the date range.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 13:35:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4643258#M177788</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-04-08T13:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Categorising and Counting Within a Dynamic Time Period</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4644464#M177824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;BR /&gt;&lt;BR /&gt;I've replicated the DAX measures on my end and generated the desired output. I've uploaded the .pbix file please take a look and let me know if it aligns with your requirements.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, the third DAX measure returns a division result, which does not represent the percentage value. To display it correctly as a percentage, go to the visual's formatting options, navigate to Data format, and change the format from General to Percentage. This will ensure the value is presented with the % symbol for better readability.&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;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a&amp;nbsp;KUDOS.&amp;nbsp;Feel free to reach out if you need further assistance.&lt;BR /&gt;Thanks and Regards&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 07:23:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4644464#M177824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-09T07:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Categorising and Counting Within a Dynamic Time Period</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4650357#M178007</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 18:14:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4650357#M178007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-13T18:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Categorising and Counting Within a Dynamic Time Period</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4658573#M178374</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 09:10:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4658573#M178374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-18T09:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Categorising and Counting Within a Dynamic Time Period</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4663541#M178591</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 16:13:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Categorising-and-Counting-Within-a-Dynamic-Time-Period/m-p/4663541#M178591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-22T16:13:55Z</dc:date>
    </item>
  </channel>
</rss>

