<?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: Calculate Percent f filtered data in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116989#M16360</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="188666" data-lia-user-login="Ryansong" class="lia-mention lia-mention-user"&gt;Ryansong&lt;/a&gt;&amp;nbsp;- Should be,&lt;BR /&gt;&lt;BR /&gt;Percent = SUMX(FILTER(ALL('Table'),[sex]="male"),[number]) / SUMX(ALL('Table'),[number])&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 05:13:07 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-05-25T05:13:07Z</dc:date>
    <item>
      <title>Calculate Percent f filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116984#M16359</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I have a data of employee number by sex like&amp;nbsp; the following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sex&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; number&lt;/P&gt;&lt;P&gt;female&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5&lt;/P&gt;&lt;P&gt;male&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;male&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate for example:&amp;nbsp;&lt;STRONG&gt;Percent of male employee number&lt;/STRONG&gt; showing separately in Card visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of this how should i write DAX expression for this.&lt;/P&gt;&lt;P&gt;Please help me&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 05:06:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116984#M16359</guid>
      <dc:creator>Ryansong</dc:creator>
      <dc:date>2020-05-25T05:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Percent f filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116989#M16360</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="188666" data-lia-user-login="Ryansong" class="lia-mention lia-mention-user"&gt;Ryansong&lt;/a&gt;&amp;nbsp;- Should be,&lt;BR /&gt;&lt;BR /&gt;Percent = SUMX(FILTER(ALL('Table'),[sex]="male"),[number]) / SUMX(ALL('Table'),[number])&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 05:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116989#M16360</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-25T05:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Percent f filtered data</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116993#M16361</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="188666" data-lia-user-login="Ryansong" class="lia-mention lia-mention-user"&gt;Ryansong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create DAX measure&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Male = CALCULATE(SUM(MyTable[number])/SUMX(ALL(MyTable),MyTable[number]),MyTable[sex]="male")&lt;/LI-CODE&gt;&lt;LI-CODE lang="csharp"&gt;Female = CALCULATE(SUM(MyTable[number])/SUMX(ALL(MyTable),MyTable[number]),MyTable[sex]="female")&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;BR /&gt;Appreciate with a kudos &lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 05:14:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-Percent-f-filtered-data/m-p/1116993#M16361</guid>
      <dc:creator>nandukrishnavs</dc:creator>
      <dc:date>2020-05-25T05:14:45Z</dc:date>
    </item>
  </channel>
</rss>

