<?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 tu sum more filtered fields in one column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2575070#M73689</link>
    <description>&lt;P&gt;actually not, I need this measure to be a part of another measure. I was more asking if there is another way ( a bit simple) how to nest the 3 filtered values and sum them together.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 11:31:32 GMT</pubDate>
    <dc:creator>TomaKavi</dc:creator>
    <dc:date>2022-06-13T11:31:32Z</dc:date>
    <item>
      <title>how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2565443#M73088</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;is there a better way how to make a simple sum for specific fields in one Column than this below ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;SR1100&amp;nbsp;positive&amp;nbsp;3&amp;nbsp;=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[Total&amp;nbsp;Value],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;FILTER&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Total_2021,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Total_2021[Consolidation&amp;nbsp;account]&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;IN&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;{&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"V10000"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"V20000"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"V30000"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Jun 2022 04:23:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2565443#M73088</guid>
      <dc:creator>TomaKavi</dc:creator>
      <dc:date>2022-06-08T04:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2573541#M73619</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="388922" data-lia-user-login="TomaKavi" class="lia-mention lia-mention-user"&gt;TomaKavi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can choose according to your scenario. If you only need to call it once, use this method.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you need to call it multiple times, create a table.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;test = 
CALCULATE (
    SUM(Total_2021[value]),
    FILTER (
        Total_2021,
        Total_2021[Consolidation account] IN VALUES('filter'[Column1])
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 01:52:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2573541#M73619</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-06-13T01:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2575070#M73689</link>
      <description>&lt;P&gt;actually not, I need this measure to be a part of another measure. I was more asking if there is another way ( a bit simple) how to nest the 3 filtered values and sum them together.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 11:31:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2575070#M73689</guid>
      <dc:creator>TomaKavi</dc:creator>
      <dc:date>2022-06-13T11:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2608484#M75572</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="388922" data-lia-user-login="TomaKavi" class="lia-mention lia-mention-user"&gt;TomaKavi&lt;/a&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I need this measure to be a part of another measure.&amp;nbsp;....&amp;nbsp;&amp;nbsp;how to nest the 3 filtered values and sum them together.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The usual approach is to create a measure to calculate the total, and then create a measure to call it, for example&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;measure 1= sumx(filter('table', 'table '[xxx]=....),'table'[value])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;measure 2= 
  var _totalFromM1=[measure 1]
  var _expression=calculate(....)
return _totalFromM1+_expression&lt;/LI-CODE&gt;
&lt;P&gt;This is the simplest way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 07:43:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2608484#M75572</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-06-30T07:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2616943#M76103</link>
      <description>&lt;P&gt;and that is the poin HOW to add more values here&amp;nbsp; ,,Table [xxx] =......., how do you nest more parameters there ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;measure 1= sumx(filter('table', 'table '[xxx]=....),'table'[value])&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:37:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2616943#M76103</guid>
      <dc:creator>TomaKavi</dc:creator>
      <dc:date>2022-07-04T09:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2624092#M76571</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="388922" data-lia-user-login="TomaKavi" class="lia-mention lia-mention-user"&gt;TomaKavi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;how do you nest more parameters there&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;measure 1= sumx(filter('table', 'table '[xxx1]=.... &amp;amp;&amp;amp; 'table '[xxx2]=.... &amp;amp;&amp;amp; 'table '[xxx3]=....),'table'[value])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;Community Support Team _Tang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 06:46:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2624092#M76571</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-07-07T06:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: how tu sum more filtered fields in one column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2629740#M76881</link>
      <description>&lt;P&gt;got you, but what if we are talking about the same table, I guess the solution that I have written at the top is the only one right ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 04:52:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-tu-sum-more-filtered-fields-in-one-column/m-p/2629740#M76881</guid>
      <dc:creator>TomaKavi</dc:creator>
      <dc:date>2022-07-11T04:52:24Z</dc:date>
    </item>
  </channel>
</rss>

