<?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: Percentage of grand total measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2971800#M99358</link>
    <description>&lt;P&gt;For some reason it returns 100% for every row. Not sure why but it's calculating at the row level, not the column level.&lt;/P&gt;&lt;P&gt;I've tried SUMX - does the same thing row level.&lt;/P&gt;&lt;P&gt;Sum doesn't work at all. Must be some restrictions to my database connection? (is live)&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 20:59:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-15T20:59:46Z</dc:date>
    <item>
      <title>Percentage of grand total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2969249#M99177</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to write a measure that gives me the percentage of grand total (of a row item), issue is that this is using other measures to calculate.&lt;/P&gt;&lt;P&gt;What I'm trying to do is check how much each department is spending of budget per month from their total budget spend.&lt;BR /&gt;Ideally I want to get the columns measure grand total and then divide each department's spend by it.&lt;BR /&gt;The "spend" is currently a measure, so it seems I can't use:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Measure = CALCULATE(SUM('Table1'[Spend])&lt;/PRE&gt;&lt;P&gt;How would I go about returning the total sum of a measure (e.g., the total spend of the departments)?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 01:17:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2969249#M99177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-15T01:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of grand total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2969644#M99192</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;% Dept_budget =&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;V1&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Measure]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;('Table'[department])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;([Measure]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;V1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Dec 2022 05:45:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2969644#M99192</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2022-12-15T05:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of grand total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2971800#M99358</link>
      <description>&lt;P&gt;For some reason it returns 100% for every row. Not sure why but it's calculating at the row level, not the column level.&lt;/P&gt;&lt;P&gt;I've tried SUMX - does the same thing row level.&lt;/P&gt;&lt;P&gt;Sum doesn't work at all. Must be some restrictions to my database connection? (is live)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 20:59:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2971800#M99358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-15T20:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of grand total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2975854#M99627</link>
      <description>&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Hi Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: tahoma; font-size: 11.0pt;"&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 06:32:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2975854#M99627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-19T06:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage of grand total measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2975858#M99628</link>
      <description>&lt;P&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 06:33:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Percentage-of-grand-total-measure/m-p/2975858#M99628</guid>
      <dc:creator>Mahesh0016</dc:creator>
      <dc:date>2022-12-19T06:33:42Z</dc:date>
    </item>
  </channel>
</rss>

