<?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: Sum 2 columns with an applied filter in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760716#M85558</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result = if('Table'[Type]="Motor",'Table'[Price]+'Table'[Rego],BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;not choose "show item with no data"&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps,&lt;/STRONG&gt;&lt;/EM&gt; then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 02:14:54 GMT</pubDate>
    <dc:creator>v-henryk-mstf</dc:creator>
    <dc:date>2022-09-12T02:14:54Z</dc:date>
    <item>
      <title>Sum 2 columns with an applied filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760615#M85548</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to this, seached in the forum but didn't find sum 2 columns.&lt;/P&gt;&lt;P&gt;I need create a new column that calculate &lt;STRONG&gt;Price+Rego&lt;/STRONG&gt; for all &lt;STRONG&gt;Motor&lt;/STRONG&gt;, the ideal is just ignore Car - I don't want there is a (blank) display on my visual.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Price&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Rego&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;New Column&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Car&lt;/TD&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;TD&gt;550&lt;/TD&gt;&lt;TD&gt;/&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Car&lt;/TD&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;TD&gt;500&lt;/TD&gt;&lt;TD&gt;/&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Motor&lt;/TD&gt;&lt;TD&gt;5000&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;TD&gt;5200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Motor&lt;/TD&gt;&lt;TD&gt;5500&lt;/TD&gt;&lt;TD&gt;220&lt;/TD&gt;&lt;TD&gt;5720&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Motor&lt;/TD&gt;&lt;TD&gt;6000&lt;/TD&gt;&lt;TD&gt;230&lt;/TD&gt;&lt;TD&gt;6230&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any suggestions please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 23:55:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760615#M85548</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-11T23:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sum 2 columns with an applied filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760716#M85558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Result = if('Table'[Type]="Motor",'Table'[Price]+'Table'[Rego],BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;not choose "show item with no data"&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps,&lt;/STRONG&gt;&lt;/EM&gt; then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 02:14:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760716#M85558</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2022-09-12T02:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sum 2 columns with an applied filter</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760808#M85569</link>
      <description>&lt;P&gt;Thanks Henry,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appriciate your help, i tried, seems works for me.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 03:24:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-2-columns-with-an-applied-filter/m-p/2760808#M85569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-12T03:24:49Z</dc:date>
    </item>
  </channel>
</rss>

