<?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 DirectQuery Table Grand Total Percentage Calcaluation Incorrect in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/589476#M17966</link>
    <description>&lt;P&gt;I cannot get the grand total percentage to calculate correctly.&amp;nbsp; I've searched this forum up and down and cannot find an answer that works.&amp;nbsp; This is a DirectQuery report.&amp;nbsp; Below are examples of the data I'm using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The First picture is the Power BI Table with no Grand Total Percentage, 2nd picture is Power BI table with Grand Total Sum Percentage, 3rd is a Sharepoint Dashboard currently in place that calculates grand total percentage correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pctg Column is built in a SQL query as a decimal, then converted into a percentage in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help anyone could provide would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="No Total Percentage.JPG" style="width: 495px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138130iD7AA565C25499256/image-size/large?v=v2&amp;amp;px=999" role="button" title="No Total Percentage.JPG" alt="No Total Percentage.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sum Total Percentage.JPG" style="width: 474px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138131iA1F29BC5D2D20FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sum Total Percentage.JPG" alt="Sum Total Percentage.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sharepoint Dashboard Correct total Percentage.JPG" style="width: 417px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138139iEBA0F1CD8379118E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sharepoint Dashboard Correct total Percentage.JPG" alt="Sharepoint Dashboard Correct total Percentage.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 16:03:31 GMT</pubDate>
    <dc:creator>jhughes51</dc:creator>
    <dc:date>2018-12-20T16:03:31Z</dc:date>
    <item>
      <title>DirectQuery Table Grand Total Percentage Calcaluation Incorrect</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/589476#M17966</link>
      <description>&lt;P&gt;I cannot get the grand total percentage to calculate correctly.&amp;nbsp; I've searched this forum up and down and cannot find an answer that works.&amp;nbsp; This is a DirectQuery report.&amp;nbsp; Below are examples of the data I'm using.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The First picture is the Power BI Table with no Grand Total Percentage, 2nd picture is Power BI table with Grand Total Sum Percentage, 3rd is a Sharepoint Dashboard currently in place that calculates grand total percentage correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pctg Column is built in a SQL query as a decimal, then converted into a percentage in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help anyone could provide would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="No Total Percentage.JPG" style="width: 495px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138130iD7AA565C25499256/image-size/large?v=v2&amp;amp;px=999" role="button" title="No Total Percentage.JPG" alt="No Total Percentage.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sum Total Percentage.JPG" style="width: 474px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138131iA1F29BC5D2D20FAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sum Total Percentage.JPG" alt="Sum Total Percentage.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sharepoint Dashboard Correct total Percentage.JPG" style="width: 417px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138139iEBA0F1CD8379118E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sharepoint Dashboard Correct total Percentage.JPG" alt="Sharepoint Dashboard Correct total Percentage.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 16:03:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/589476#M17966</guid>
      <dc:creator>jhughes51</dc:creator>
      <dc:date>2018-12-20T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: DirectQuery Table Grand Total Percentage Calcaluation Incorrect</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/590786#M17992</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/99543"&gt;@jhughes51&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's because the grand total is just a total of all the percentages, which isn't the right way to calculate the grand total percentage. I would suggest you use a measure instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Measure =
DIVIDE ( SUM ( 'table'[RptTtl] ), SUM ( 'table'[Goal] ), 0 )
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 09:21:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/590786#M17992</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-12-24T09:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: DirectQuery Table Grand Total Percentage Calcaluation Incorrect</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/593543#M18071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/99543"&gt;@jhughes51&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Could you please mark the proper answers as solutions?&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 07:02:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/593543#M18071</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2019-01-02T07:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: DirectQuery Table Grand Total Percentage Calcaluation Incorrect</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/593854#M18083</link>
      <description>&lt;P&gt;Formula worked perfectly, thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 14:53:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/DirectQuery-Table-Grand-Total-Percentage-Calcaluation-Incorrect/m-p/593854#M18083</guid>
      <dc:creator>jhughes51</dc:creator>
      <dc:date>2019-01-02T14:53:56Z</dc:date>
    </item>
  </channel>
</rss>

