<?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: Dax to Sum Rows in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172880#M114449</link>
    <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521723" data-lia-user-login="kunal_mehta1" class="lia-mention lia-mention-user"&gt;kunal_mehta1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;DIV&gt;measure =&lt;/DIV&gt;&lt;DIV&gt;CALCULATE(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;SUM(TableName[Dollar]),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;TableName[ProjectNumber] IN {"A1", "B1"}&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Apr 2023 03:32:28 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-04-05T03:32:28Z</dc:date>
    <item>
      <title>Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172873#M114448</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I want to have dax expression for power BI to sum multiple rows.&lt;BR /&gt;I want a measure which would sum the dollar value of A1 and dollar value of B1 and give me a total of 30.&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 03:24:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172873#M114448</guid>
      <dc:creator>kunal_mehta1</dc:creator>
      <dc:date>2023-04-05T03:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172880#M114449</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521723" data-lia-user-login="kunal_mehta1" class="lia-mention lia-mention-user"&gt;kunal_mehta1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;DIV&gt;measure =&lt;/DIV&gt;&lt;DIV&gt;CALCULATE(&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;SUM(TableName[Dollar]),&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;TableName[ProjectNumber] IN {"A1", "B1"}&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Apr 2023 03:32:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172880#M114449</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-04-05T03:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172884#M114450</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your expected outcome of a visualization looks like, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 03:35:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172884#M114450</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-04-05T03:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172894#M114451</link>
      <description>&lt;P&gt;Sorry, i would like to elaborate a little.&lt;BR /&gt;I have projects with C number and out of those C projects i have few O projects with the same last 4 digits.&lt;BR /&gt;I want to sum the dollar values of C and O for that particular project with same last 4 digits.&lt;BR /&gt;I want a measure which would sum the C and O rows with same last 4 digits and if it doesn't have the O number just give the value of C number row.&lt;BR /&gt;I hope that this makes it clear.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 03:56:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172894#M114451</guid>
      <dc:creator>kunal_mehta1</dc:creator>
      <dc:date>2023-04-05T03:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172907#M114453</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521723" data-lia-user-login="kunal_mehta1" class="lia-mention lia-mention-user"&gt;kunal_mehta1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you also provide directly your expected result based on the sampledata?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 04:09:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172907#M114453</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-04-05T04:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172928#M114455</link>
      <description>&lt;P&gt;It would be a measure which will give me sum of dollar vlaue for C7097 and O7097 which would be 30 , next gives me sum of C7088 and O7088 which would be 35, also gives me the value of C7086 even if it doesn't have O number which would be 25.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 04:35:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3172928#M114455</guid>
      <dc:creator>kunal_mehta1</dc:creator>
      <dc:date>2023-04-05T04:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dax to Sum Rows</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3192913#M115844</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521723" data-lia-user-login="kunal_mehta1" class="lia-mention lia-mention-user"&gt;kunal_mehta1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;Column:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Number = RIGHT([Project Number],4)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = CALCULATE(SUM('Table'[Dollar]),ALLEXCEPT('Table','Table'[Number]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 07:37:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-to-Sum-Rows/m-p/3192913#M115844</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-04-18T07:37:15Z</dc:date>
    </item>
  </channel>
</rss>

