<?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: Count number of doctors who had cases in a month or year in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3169298#M114183</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp; That works just fine - thank you very much&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 12:24:27 GMT</pubDate>
    <dc:creator>BaldAccountant</dc:creator>
    <dc:date>2023-04-03T12:24:27Z</dc:date>
    <item>
      <title>Count number of doctors who had cases in a month or year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3166397#M113892</link>
      <description>&lt;P&gt;I am trying to get a measure to get a count of the number of doctors who had cases in a given month or year.&amp;nbsp; Here I calculated the number of doctors in excel.&lt;/P&gt;&lt;P&gt;I can send you the data in excel, but I have not had good luck posting the files using dropbox.&amp;nbsp; Let me know if you need that and I will try&lt;/P&gt;&lt;P&gt;I have a date table in my model constructed using Calendarauto.&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 18:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3166397#M113892</guid>
      <dc:creator>BaldAccountant</dc:creator>
      <dc:date>2023-03-31T18:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of doctors who had cases in a month or year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3166540#M113901</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I hope the below can provide some ideas on how to create a solution for your datamodel.&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;/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;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected result measure: =
VAR _countsum =
    SUM ( Data[Count] )
VAR _doctorcount =
    COUNTROWS ( SUMMARIZE ( Data, Doctor[Doctor] ) )
RETURN
    IF ( HASONEVALUE ( Doctor[Doctor] ), _countsum, _doctorcount )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 20:26:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3166540#M113901</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-03-31T20:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Count number of doctors who had cases in a month or year</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3169298#M114183</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp; That works just fine - thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 12:24:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-number-of-doctors-who-had-cases-in-a-month-or-year/m-p/3169298#M114183</guid>
      <dc:creator>BaldAccountant</dc:creator>
      <dc:date>2023-04-03T12:24:27Z</dc:date>
    </item>
  </channel>
</rss>

