<?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: Column total SUM but row values stay constant in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4388021#M174190</link>
    <description>&lt;P&gt;If i understood you correctly this is my output from your solution. Its not entirely what im looking for, its not supposed to be such a high number, im looking for around 30 000. It should only count each row's value once, so I might have made a mistake, but the 38125 should not be there.&lt;BR /&gt;&lt;BR /&gt;Im looking for a function that will keep vMonthly_Targets row value at 25 and only displaya total at the end of the column&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 11:06:15 GMT</pubDate>
    <dc:creator>francoisW</dc:creator>
    <dc:date>2025-01-30T11:06:15Z</dc:date>
    <item>
      <title>Column total SUM but row values stay constant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4387892#M174183</link>
      <description>&lt;P&gt;Hi im having trouble with something seemingly simple, i need the values of my rows to stay constant, whilst having them sum up to a total at the end of the table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a Montly_target, which is define as Daily_target * Days_in_Month.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Days_in_month = 25,&lt;BR /&gt;Daily_Target = 1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As shown in the graph it is hardcoded to be 25 for every row, but i need the column to display the SUM of the column, without altering the individual row values.&lt;BR /&gt;&lt;BR /&gt;Please let me know if i need to enter more information, this is my first question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 09:52:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4387892#M174183</guid>
      <dc:creator>francoisW</dc:creator>
      <dc:date>2025-01-30T09:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Column total SUM but row values stay constant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4387940#M174185</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="921849" data-lia-user-login="francoisW" class="lia-mention lia-mention-user"&gt;francoisW&lt;/a&gt;&amp;nbsp;, Create a measure&lt;/P&gt;
&lt;P&gt;Total_Monthly_Target = SUM('YourTable'[Monthly_target])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your table visual, add the Total_Monthly_Target measure. This will show the sum of the Monthly_target column without altering the individual row values.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 10:18:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4387940#M174185</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-01-30T10:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Column total SUM but row values stay constant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4388021#M174190</link>
      <description>&lt;P&gt;If i understood you correctly this is my output from your solution. Its not entirely what im looking for, its not supposed to be such a high number, im looking for around 30 000. It should only count each row's value once, so I might have made a mistake, but the 38125 should not be there.&lt;BR /&gt;&lt;BR /&gt;Im looking for a function that will keep vMonthly_Targets row value at 25 and only displaya total at the end of the column&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 11:06:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4388021#M174190</guid>
      <dc:creator>francoisW</dc:creator>
      <dc:date>2025-01-30T11:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Column total SUM but row values stay constant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4388057#M174193</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="921849" data-lia-user-login="francoisW" class="lia-mention lia-mention-user"&gt;francoisW&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;you can add calculate colum in your table&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Monthly_Target = SUM('target table'[Daily_target]) * SUM('target table'[Days_in_Month])&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;&lt;EM&gt;helps&lt;/EM&gt;, then please give us Kudos and consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as a solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 11:29:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4388057#M174193</guid>
      <dc:creator>vivek31</dc:creator>
      <dc:date>2025-01-30T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Column total SUM but row values stay constant</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4389500#M174251</link>
      <description>&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;Thanks for the reply from vivek31&amp;nbsp; and bhanu_gautam&amp;nbsp;, please allow me to provide another insight:&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt; color: black;"&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="921849" data-lia-user-login="francoisW" class="lia-mention lia-mention-user"&gt;francoisW&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/SPAN&gt;&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. Below are the measure I've created for your needs:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
IF (
    ISINSCOPE ( 'Table (2)'[Column1] ),
    [Daily_target1] * [Days_in_Month1],
    SUMX ( 'Table (2)', [Daily_target1] * [Days_in_Month1] )
)&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;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;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider Accept it &lt;EM&gt;&lt;STRONG&gt;as the solution &lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 08:32:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-total-SUM-but-row-values-stay-constant/m-p/4389500#M174251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-31T08:32:44Z</dc:date>
    </item>
  </channel>
</rss>

