<?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: Reference instances within a table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-instances-within-a-table/m-p/3263542#M120745</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="564112" data-lia-user-login="3cdoug" class="lia-mention lia-mention-user"&gt;3cdoug&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I think you can add filter in your code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count =
CALCULATE (
    DISTINCTCOUNT ( 'Submitted Certs'[Cert] ),
    FILTER ( 'Submitted Certs', 'Submitted Certs'[Cert] = "Cert 1" )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 09:24:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-01T09:24:37Z</dc:date>
    <item>
      <title>Reference instances within a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-instances-within-a-table/m-p/3260242#M120529</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Cert 1 = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Submitted Certs'&lt;/SPAN&gt;&lt;SPAN&gt;[Cert]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Cert 1"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Submitted Certs'&lt;/SPAN&gt;&lt;SPAN&gt;[Cert]&lt;/SPAN&gt;&lt;SPAN&gt;)) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I want to calculate all the instances in which "Cert 1" occurs, i keep getting the wrong number, any help?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 May 2023 18:18:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-instances-within-a-table/m-p/3260242#M120529</guid>
      <dc:creator>3cdoug</dc:creator>
      <dc:date>2023-05-30T18:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reference instances within a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-instances-within-a-table/m-p/3263542#M120745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="564112" data-lia-user-login="3cdoug" class="lia-mention lia-mention-user"&gt;3cdoug&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I think you can add filter in your code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Count =
CALCULATE (
    DISTINCTCOUNT ( 'Submitted Certs'[Cert] ),
    FILTER ( 'Submitted Certs', 'Submitted Certs'[Cert] = "Cert 1" )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 09:24:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-instances-within-a-table/m-p/3263542#M120745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-01T09:24:37Z</dc:date>
    </item>
  </channel>
</rss>

