<?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 If table A has &amp;quot;text&amp;quot; then calculate sum on 2 different tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3573476#M137768</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 tables. Table A and Table B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Table A contains "Accept" then it should equal calculate(sum(Table A Column C) - calcuatesum(Table B Column D)&lt;/P&gt;&lt;P&gt;If Table A does not contain "Accept" Then it should equal 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using IF/IS IN SCOPE,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using the filter function&lt;/P&gt;&lt;P&gt;sumx filter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All are giving me sintax errors. Anyone know the best way to figure this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 22:24:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-12-07T22:24:11Z</dc:date>
    <item>
      <title>If table A has "text" then calculate sum on 2 different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3573476#M137768</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 tables. Table A and Table B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Table A contains "Accept" then it should equal calculate(sum(Table A Column C) - calcuatesum(Table B Column D)&lt;/P&gt;&lt;P&gt;If Table A does not contain "Accept" Then it should equal 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using IF/IS IN SCOPE,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using the filter function&lt;/P&gt;&lt;P&gt;sumx filter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All are giving me sintax errors. Anyone know the best way to figure this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 22:24:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3573476#M137768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-07T22:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: If table A has "text" then calculate sum on 2 different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3576875#M137925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?&lt;/P&gt;
&lt;P&gt;Thanks for your efforts &amp;amp; time in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 06:12:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3576875#M137925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-11T06:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: If table A has "text" then calculate sum on 2 different tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3582063#M138181</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Awarded Carrier Linehaul comes from a differrent table then Linehaul. So if this row = Tender Reject I want Spend Variance Measure to = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Tender Accept, it should calucate as it is below.&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;So ideally should be a simple IF statement but I keep getting errors.&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;Let me know if this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 14:10:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/If-table-A-has-quot-text-quot-then-calculate-sum-on-2-different/m-p/3582063#M138181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-13T14:10:31Z</dc:date>
    </item>
  </channel>
</rss>

