<?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: BI - How to calculate the percentage of a specific value where the total is the same column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4643144#M177785</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1252812" data-lia-user-login="apolo" class="lia-mention lia-mention-user"&gt;apolo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 08 Apr 2025 12:34:37 GMT</pubDate>
    <dc:creator>v-dineshya</dc:creator>
    <dc:date>2025-04-08T12:34:37Z</dc:date>
    <item>
      <title>BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4636912#M177532</link>
      <description>&lt;P&gt;Good morning, everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column in my report called STATUS, which counts 3 values: "OUT OF DEADLINE", "NO DEADLINE" and "ON DEADLINE".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a card that indicates the percentage of "ON DEADLINE" in relation to the total. But I can't do it. Does anyone have any idea? It needs to be done using the card view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get it to calculate, but by counting. Not by percentage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Medida = CALCULATE(COUNTA('Relatório SLA'[SITUACAO]),'Relatório SLA'[SITUACAO] IN { "NO PRAZO" })&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your time, translated by Google translator, sorry for any mistakes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is a brief example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TRANSLATION&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SITUAÇÃO =&amp;nbsp;SITUATION&lt;/P&gt;&lt;P&gt;NO PRAZO = ON&amp;nbsp;DEADLINE&lt;/P&gt;&lt;P&gt;SEM PRAZO =&amp;nbsp;NO DEADLINE&lt;/P&gt;&lt;P&gt;FORA DO PRAZO =&amp;nbsp;OUT OF DEADLINE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 13:47:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4636912#M177532</guid>
      <dc:creator>apolo</dc:creator>
      <dc:date>2025-04-03T13:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4636950#M177534</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1252812" data-lia-user-login="apolo" class="lia-mention lia-mention-user"&gt;apolo&lt;/a&gt;&amp;nbsp;Create a measure to count the total number of statuses.&lt;BR /&gt;Create a measure to count the number of "ON DEADLINE" statuses.&lt;BR /&gt;Create a measure to calculate the percentage of "ON DEADLINE" statuses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TotalStatus = COUNTA('Relatório SLA'[SITUACAO])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OnDeadlineCount = CALCULATE(COUNTA('Relatório SLA'[SITUACAO]), 'Relatório SLA'[SITUACAO] = "NO PRAZO")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OnDeadlinePercentage = DIVIDE([OnDeadlineCount], [TotalStatus], 0)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 14:05:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4636950#M177534</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-04-03T14:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4636964#M177537</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;A% =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;cnt&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;all&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;_Acnt&lt;/SPAN&gt;&lt;SPAN&gt;= &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Column1]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;divide&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_Acnt&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;cnt&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Apr 2025 14:20:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4636964#M177537</guid>
      <dc:creator>KiranKusmude</dc:creator>
      <dc:date>2025-04-03T14:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4638020#M177576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1252812" data-lia-user-login="apolo" class="lia-mention lia-mention-user"&gt;apolo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX code for percentage of "ON DEADLINE" in relation to the total.&lt;/P&gt;
&lt;P&gt;Percentage On Deadline = &lt;BR /&gt;VAR TotalCount = CALCULATE(COUNTROWS('Relatório SLA'))&lt;BR /&gt;VAR OnDeadlineCount = CALCULATE(COUNTROWS('Relatório SLA'), 'Relatório SLA'[SITUACAO] = "NO PRAZO")&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;TotalCount = 0,&lt;BR /&gt;0,&lt;BR /&gt;DIVIDE(OnDeadlineCount, TotalCount, 0)&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;After creating the measure, go to the "Modeling" tab in Power BI. Select the measure and choose the "Percentage" format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.&lt;BR /&gt;Thanks and Regards&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 09:57:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4638020#M177576</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-04-04T09:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4643144#M177785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1252812" data-lia-user-login="apolo" class="lia-mention lia-mention-user"&gt;apolo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 12:34:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4643144#M177785</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-04-08T12:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4652265#M178081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1252812" data-lia-user-login="apolo" class="lia-mention lia-mention-user"&gt;apolo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 17:59:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4652265#M178081</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-04-14T17:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: BI - How to calculate the percentage of a specific value where the total is the same column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4662069#M178529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1252812" data-lia-user-login="apolo" class="lia-mention lia-mention-user"&gt;apolo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my response has resolved your query, please mark it as the Accepted Solution to assist others. Additionally, a 'Kudos' would be appreciated if you found my response helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 04:20:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/BI-How-to-calculate-the-percentage-of-a-specific-value-where-the/m-p/4662069#M178529</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-04-22T04:20:44Z</dc:date>
    </item>
  </channel>
</rss>

