<?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 How to Get Value Percentage based on Criteria in Table? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Get-Value-Percentage-based-on-Criteria-in-Table/m-p/1934261#M42053</link>
    <description>&lt;P&gt;I have an a Powerbi Table showing a criteria if a phase has been started on time or delayed.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is based on an additional column that shows "Not started" "On time" or "Delayed" based on the planned and actual dates.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Help needed: Can someone help guide me on how I can get the percentage of the values in each criteria (depending on whether they not started, on time, or delayed)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the result I want to see is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of the 10 projects,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;78%&lt;/STRONG&gt; of the project phases is&amp;nbsp;&lt;STRONG&gt;not started&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;22%&lt;/STRONG&gt; are &lt;STRONG&gt;on time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0%&lt;/STRONG&gt; are &lt;STRONG&gt;delayed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your inputs &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 03:53:16 GMT</pubDate>
    <dc:creator>sophie23</dc:creator>
    <dc:date>2021-07-02T03:53:16Z</dc:date>
    <item>
      <title>How to Get Value Percentage based on Criteria in Table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Get-Value-Percentage-based-on-Criteria-in-Table/m-p/1934261#M42053</link>
      <description>&lt;P&gt;I have an a Powerbi Table showing a criteria if a phase has been started on time or delayed.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is based on an additional column that shows "Not started" "On time" or "Delayed" based on the planned and actual dates.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Help needed: Can someone help guide me on how I can get the percentage of the values in each criteria (depending on whether they not started, on time, or delayed)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the result I want to see is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of the 10 projects,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;78%&lt;/STRONG&gt; of the project phases is&amp;nbsp;&lt;STRONG&gt;not started&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;22%&lt;/STRONG&gt; are &lt;STRONG&gt;on time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0%&lt;/STRONG&gt; are &lt;STRONG&gt;delayed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your inputs &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 03:53:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Get-Value-Percentage-based-on-Criteria-in-Table/m-p/1934261#M42053</guid>
      <dc:creator>sophie23</dc:creator>
      <dc:date>2021-07-02T03:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Value Percentage based on Criteria in Table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Get-Value-Percentage-based-on-Criteria-in-Table/m-p/1934577#M42056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="262757" data-lia-user-login="sophie23" class="lia-mention lia-mention-user"&gt;sophie23&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Based on what I understood from your query, please follow the below steps in order to achieve that functionality.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)Calculate Total Conditions using COUNT.&lt;/P&gt;&lt;P&gt;Total=COUNT(Table(Column))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)Then calculate Count of specific criteria;&lt;/P&gt;&lt;P&gt;For example,&lt;BR /&gt;i)CountOfNotStarted=CALCULATE(COUNT(StartDate),filter(table,StartDate="Not Started")&lt;/P&gt;&lt;P&gt;ii)CountOfOnTime=CALCULATE(COUNT(StartDate),filter(table,StartDate="On time")&lt;/P&gt;&lt;P&gt;iii)CountOfDelayed=CALCULATE(COUNT(StartDate),filter(table,StartDate="Delayed").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)Then use DIVIDE to calculate percentage.&lt;/P&gt;&lt;P&gt;i)%NotStarted=DIVIDE(Total,CountOfNotStarted).&lt;/P&gt;&lt;P&gt;ii)%OnTime=DIVIDE(Total,%OnTime).&lt;/P&gt;&lt;P&gt;iii)%Delayed=DIVIDE(Delayed,%Delayed).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4)In Measure tools, change its display type to %.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is what you are looking for, then please mark it as 'Accept as Solution' so that others could find it easily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanket Bhagwat.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 07:15:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-Get-Value-Percentage-based-on-Criteria-in-Table/m-p/1934577#M42056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-02T07:15:12Z</dc:date>
    </item>
  </channel>
</rss>

