<?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 calculate PERCENTAGES based on a single column TOTAL in Power BI desktop in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997433#M155440</link>
    <description>&lt;P&gt;For simple cases of implicit and explicit aggregations or measures, you can use the built-in row, column or grand total %s. Right click on the field &amp;gt; Show value as &amp;gt; whichever you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you have a more complex calculation requirement, then you need to post some sample data (with any sensitive information removed) so that someone can provide more specific help.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 04:58:43 GMT</pubDate>
    <dc:creator>vicky_</dc:creator>
    <dc:date>2024-06-18T04:58:43Z</dc:date>
    <item>
      <title>How to calculate PERCENTAGES based on a single column TOTAL in Power BI desktop</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997371#M155438</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please help me anyone how to calculate PERCENTAGES based on a single column TOTAL in Power BI in measures&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 04:22:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997371#M155438</guid>
      <dc:creator>ktkpatra</dc:creator>
      <dc:date>2024-06-18T04:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate PERCENTAGES based on a single column TOTAL in Power BI desktop</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997433#M155440</link>
      <description>&lt;P&gt;For simple cases of implicit and explicit aggregations or measures, you can use the built-in row, column or grand total %s. Right click on the field &amp;gt; Show value as &amp;gt; whichever you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you have a more complex calculation requirement, then you need to post some sample data (with any sensitive information removed) so that someone can provide more specific help.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 04:58:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997433#M155440</guid>
      <dc:creator>vicky_</dc:creator>
      <dc:date>2024-06-18T04:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate PERCENTAGES based on a single column TOTAL in Power BI desktop</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997444#M155441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="278111" data-lia-user-login="ktkpatra" class="lia-mention lia-mention-user"&gt;ktkpatra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Besides the solution provided by&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430689" data-lia-user-login="vicky_" class="lia-mention lia-mention-user"&gt;vicky_&lt;/a&gt;&amp;nbsp;, you could use 2 measures like these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Amt = SUM( 'Table'[Amt] )

Pct of Total = 
    DIVIDE(
        [Amt],
        CALCULATE(
            [Amt],
            ALL( 'Table' )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AnF6rI36HAVkhYdnnkSOYGfGk_iwSg?e=9ZuKk0" target="_blank" rel="noopener"&gt;Pct of Total.pbix&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 05:09:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997444#M155441</guid>
      <dc:creator>gmsamborn</dc:creator>
      <dc:date>2024-06-18T05:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate PERCENTAGES based on a single column TOTAL in Power BI desktop</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997448#M155442</link>
      <description>&lt;P&gt;No, It will not solve my problem and not calcualte exact percentage.&lt;/P&gt;&lt;P&gt;Please help me with DAX query to find out percent of total in column&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 05:07:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997448#M155442</guid>
      <dc:creator>ktkpatra</dc:creator>
      <dc:date>2024-06-18T05:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate PERCENTAGES based on a single column TOTAL in Power BI desktop</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997491#M155446</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="278111" data-lia-user-login="ktkpatra" class="lia-mention lia-mention-user"&gt;ktkpatra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; background: white;"&gt;A .pbix file with sample data would be best.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 06:14:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/3997491#M155446</guid>
      <dc:creator>gmsamborn</dc:creator>
      <dc:date>2024-06-18T06:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate PERCENTAGES based on a single column TOTAL in Power BI desktop</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/4010876#M157849</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the reply from&lt;/SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="426215" data-lia-user-login="gmsamborn" class="lia-mention lia-mention-user"&gt;gmsamborn&lt;/a&gt;&lt;SPAN&gt;&amp;nbsp;and&lt;/SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430689" data-lia-user-login="vicky_" class="lia-mention lia-mention-user"&gt;vicky_&lt;/a&gt;please allow me to provide another insight:&lt;/P&gt;
&lt;P&gt;Hi,&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="278111" data-lia-user-login="ktkpatra" class="lia-mention lia-mention-user"&gt;ktkpatra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Regarding the issue you raised, my solution is as follows:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;1.First I have created the following table and the column names and data are the data you have given:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;2.Create calculated table references:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;new = 
VAR SUM1=SUM('Table'[value])
VAR Percent1=
SUMMARIZE (
        'Table',
        [Column1],
        "month", "_Percent of total",
        "value",SUM('Table'[value])/SUM1
        
    )
VAR TAOTAL1=
 SUMMARIZE (
        'Table',
        [Column1],
        "month", "_Total",
        "value",SUM('Table'[value])
        
    )
RETURN
    UNION ('Table', Percent1,TAOTAL1)&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;3.Here's my final result, which I hope meets your requirements.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Can you share sample data and sample output in tabular format if I am misunderstanding? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Please find the attached pbix relevant to the case.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Leroy Lu&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;If this post &lt;SPAN&gt;helps&lt;/SPAN&gt;, then please consider Accept it &lt;SPAN&gt;as the solution &lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 09:07:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-PERCENTAGES-based-on-a-single-column-TOTAL-in/m-p/4010876#M157849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-26T09:07:35Z</dc:date>
    </item>
  </channel>
</rss>

