<?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: How to find % of total with multiple filters in place. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038288#M104112</link>
    <description>&lt;P&gt;I am a beginner with this so I am wondering if it is not working because I am putting the wrong thing for "pct", Var_a and Var_b.&amp;nbsp; Should those be something more specific than as typed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 16:19:58 GMT</pubDate>
    <dc:creator>gcrisp</dc:creator>
    <dc:date>2023-01-23T16:19:58Z</dc:date>
    <item>
      <title>How to find % of total with multiple filters in place.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038052#M104081</link>
      <description>&lt;P&gt;I have a file that contains the following information:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drug Type (Generic, Brand, Specialty)&lt;/P&gt;&lt;P&gt;Rx Count (n=1)&lt;/P&gt;&lt;P&gt;Disease State Grouper (many different categories)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to find out what % of Rx Count is Generic but with Disease State Grouper (Vaccinations) excluded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue I am running into is that for the denominator, I want it to be all Disease States within grouper Except Vaccines and the numerator to only include Drug type of Generic.&amp;nbsp; I cannot seem to find a way to do both and keep the % filtered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 14:55:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038052#M104081</guid>
      <dc:creator>gcrisp</dc:creator>
      <dc:date>2023-01-23T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to find % of total with multiple filters in place.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038238#M104103</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="410116" data-lia-user-login="gcrisp" class="lia-mention lia-mention-user"&gt;gcrisp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you expecting something like:&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;Pct =
VAR _b = 
COUNTROWS(
    FILTER(
        TableName,
        TableName[Disease State Grouper] &amp;lt;&amp;gt;"Vaccines"
)
VAR _a = 
COUNTROWS(
    FILTER(
        TableName,
        TableName[Disease State Grouper] &amp;lt;&amp;gt;"Vaccines"            
            &amp;amp;&amp;amp;TableName[Drug Type]="Generic"
)
RETURN
DIVIDE(_a, _b)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:00:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038238#M104103</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-23T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find % of total with multiple filters in place.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038251#M104106</link>
      <description>&lt;P&gt;Trying that now.&amp;nbsp; That looks similar to what I was doing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:03:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038251#M104106</guid>
      <dc:creator>gcrisp</dc:creator>
      <dc:date>2023-01-23T16:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to find % of total with multiple filters in place.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038288#M104112</link>
      <description>&lt;P&gt;I am a beginner with this so I am wondering if it is not working because I am putting the wrong thing for "pct", Var_a and Var_b.&amp;nbsp; Should those be something more specific than as typed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:19:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-find-of-total-with-multiple-filters-in-place/m-p/3038288#M104112</guid>
      <dc:creator>gcrisp</dc:creator>
      <dc:date>2023-01-23T16:19:58Z</dc:date>
    </item>
  </channel>
</rss>

