<?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 Need Count Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008133#M157303</link>
    <description>&lt;P&gt;I use the following measure to show days with Activity on chart and a total in a table by using Date of Service Field.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count Days with Service Completed Tasks =&lt;/SPAN&gt; &lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;isiInspections&lt;/SPAN&gt;&lt;SPAN&gt;[Date Of Service]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date Of Service also has corresponding Activity Column of either onsite, other or remote.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;How do I create a Measure to Count the total number of "onsite" activities?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 25 Jun 2024 03:30:40 GMT</pubDate>
    <dc:creator>bdehning</dc:creator>
    <dc:date>2024-06-25T03:30:40Z</dc:date>
    <item>
      <title>Need Count Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008133#M157303</link>
      <description>&lt;P&gt;I use the following measure to show days with Activity on chart and a total in a table by using Date of Service Field.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count Days with Service Completed Tasks =&lt;/SPAN&gt; &lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;isiInspections&lt;/SPAN&gt;&lt;SPAN&gt;[Date Of Service]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date Of Service also has corresponding Activity Column of either onsite, other or remote.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;How do I create a Measure to Count the total number of "onsite" activities?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Jun 2024 03:30:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008133#M157303</guid>
      <dc:creator>bdehning</dc:creator>
      <dc:date>2024-06-25T03:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need Count Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008168#M157304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="392726" data-lia-user-login="bdehning" class="lia-mention lia-mention-user"&gt;bdehning&lt;/a&gt;&amp;nbsp;- can you try below measure for onsite activies&lt;/P&gt;&lt;P&gt;Count Onsite Days with Service Completed Tasks =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(&lt;BR /&gt;DISTINCT(isiInspections[Date Of Service])&lt;BR /&gt;),&lt;BR /&gt;isiInspections[Activity] = "onsite"&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;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! This will help others on the forum!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 04:08:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008168#M157304</guid>
      <dc:creator>rajendraongole1</dc:creator>
      <dc:date>2024-06-25T04:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need Count Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008173#M157305</link>
      <description>&lt;P&gt;Ok that worked great.&amp;nbsp; &amp;nbsp;Now, how do I tweak that measure to only Count number Onsite days when there was 2 or more?&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 04:17:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-Count-Measure/m-p/4008173#M157305</guid>
      <dc:creator>bdehning</dc:creator>
      <dc:date>2024-06-25T04:17:59Z</dc:date>
    </item>
  </channel>
</rss>

