<?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 of parents for which all the childs are compliant in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898686#M151937</link>
    <description>&lt;LI-CODE lang="markup"&gt;Just one condition that I have is that we can't use NC entries in any of the filters in DAX.&lt;/LI-CODE&gt;
&lt;P&gt;That makes it impossible to implement a solution.&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 12:14:05 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-05-07T12:14:05Z</dc:date>
    <item>
      <title>Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3895800#M151825</link>
      <description>I am stuck in a problem for last few days. Actually I have a table in which I have few companies and their parent companies. Apart from this I have another table in which I have few parameters. So these are two dimensional tables and I have a fact table in which I have the information of each company and their complaints status for the parameters. Now I had two requirements, &amp;nbsp; 1. I wanted to have The count of the company's which are Compliant for all the available parameters and I have created a measure for that Which is working completely fine. &amp;nbsp; 2. I want to see the count of parent companies For which all the childs are complaint&amp;nbsp;against every parameter that is available in the dim table. This measure is somehow not working properly. &amp;nbsp; I am attaching a Power BI file for your reference. Please help me. &amp;nbsp; Link-&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1M7OewB9a1hXq9z4vl5VqwEGqS94at5t_/view?usp=drivesdk" target="_blank"&gt;https://drive.google.com/file/d/1M7OewB9a1hXq9z4vl5VqwEGqS94at5t_/view?usp=drivesdk&lt;/A&gt; &amp;nbsp; Let me know if there is any confusion &amp;nbsp; PS-- this was not a relationship problem, because I had the relationship created between the dim and fact tables but removed it for some testing and trying out few logics. Also, I tried ISEMPTY() function using NC as a condition, but I can't use that. Reason is that we have C and NC both available for same company same parameter and same period and in such case we consider C for that company for that period. Would really appreciate the quick support. Thanks</description>
      <pubDate>Mon, 06 May 2024 14:51:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3895800#M151825</guid>
      <dc:creator>Aksh_12345</dc:creator>
      <dc:date>2024-05-06T14:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3896571#M151857</link>
      <description>&lt;P&gt;Like this?&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>Mon, 06 May 2024 20:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3896571#M151857</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-06T20:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3897226#M151881</link>
      <description>&lt;P&gt;Hey &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. But I just want to get the count of such parent companies for which all sub companies are compliant for all parameters. And just one more point, we can't say whether any company has entries for all the parameters in the fact table. So, we need to compare the number of entries for each child in the fact with the distinctcount of parameters in dimparameters. I am doing something similar in my file but somehow it is not working. Could you have a look at that?&lt;/P&gt;&lt;P&gt;Waiiting for your response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 03:29:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3897226#M151881</guid>
      <dc:creator>Aksh_12345</dc:creator>
      <dc:date>2024-05-07T03:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898534#M151927</link>
      <description>&lt;P&gt;I don't understand what you are trying to achieve.&amp;nbsp;&amp;nbsp;Please provide sample data &lt;STRONG&gt;that fully covers your issue&lt;/STRONG&gt;.&lt;BR /&gt;Please show the expected outcome based on the sample data you provided.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 11:33:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898534#M151927</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-07T11:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898592#M151933</link>
      <description>&lt;P&gt;Hey &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the confusion, based on the sample data, the expected outcome is 1. I just want to create a card with number of parents compliant.&lt;/P&gt;&lt;P&gt;Just one condition that I have is that we can't use NC entries in any of the filters in DAX.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 11:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898592#M151933</guid>
      <dc:creator>Aksh_12345</dc:creator>
      <dc:date>2024-05-07T11:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898686#M151937</link>
      <description>&lt;LI-CODE lang="markup"&gt;Just one condition that I have is that we can't use NC entries in any of the filters in DAX.&lt;/LI-CODE&gt;
&lt;P&gt;That makes it impossible to implement a solution.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 12:14:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898686#M151937</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-05-07T12:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count of parents for which all the childs are compliant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898867#M151940</link>
      <description>&lt;P&gt;Thats what it looks like. I think I need to create a calculated table first after filtering the NC entries and add a calculated column there which can do a count of parameters for each company individually. Then based on that column I can do parent level calculation as well in the measure&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 12:40:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-parents-for-which-all-the-childs-are-compliant/m-p/3898867#M151940</guid>
      <dc:creator>Aksh_12345</dc:creator>
      <dc:date>2024-05-07T12:40:43Z</dc:date>
    </item>
  </channel>
</rss>

