<?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: Calculate with Filters from different columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773238#M86422</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="355712" data-lia-user-login="webbj" class="lia-mention lia-mention-user"&gt;webbj&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It should work. What error codes are you getting. Note that this is an "AND" condition between the two conditions so double check the spelling and make sure the two conditions actually intersect.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:51:22 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-16T10:51:22Z</dc:date>
    <item>
      <title>Calculate with Filters from different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773147#M86407</link>
      <description>&lt;P&gt;So thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="207275" data-lia-user-login="DataInsights" class="lia-mention lia-mention-user"&gt;DataInsights&lt;/a&gt;&amp;nbsp;I've been using the following to calculate the average based on mulitple filters from a single column in a table. However i'm now trying to figure out how to find calculate the average based on two conditions from two columns in the same table shown in second code segment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure =
CALCULATE (
    AVERAGE ( Combined[Response Time (Days)] ),
    Combined[Type]
        IN {
        "CT - Change Request (10)",
        "CT - General Support (5)",
        "CT - New Implementation (10)",
        "CT - Technical Issue/Fault (10)"
    }
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of what I've tried, I've tried others as well however it either displays 'blank' or the code errors.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
CALCULATE (
    AVERAGE ( 'CT Combined Extracts'[Response Time (Days)] ),
    'CT Combined Extracts'[Type]
        IN {
        "CT - Technical Issue/Fault (10)"
    },
    'CT Combined Extracts'[Service]
        IN {
        "CT - Case Access"
    }
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:13:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773147#M86407</guid>
      <dc:creator>webbj</dc:creator>
      <dc:date>2022-09-16T10:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate with Filters from different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773238#M86422</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="355712" data-lia-user-login="webbj" class="lia-mention lia-mention-user"&gt;webbj&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It should work. What error codes are you getting. Note that this is an "AND" condition between the two conditions so double check the spelling and make sure the two conditions actually intersect.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:51:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773238#M86422</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-16T10:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate with Filters from different columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773248#M86423</link>
      <description>&lt;P&gt;oops it you were right - there was a double space in the data extract and I had only put one space in. Thankyou!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:55:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-with-Filters-from-different-columns/m-p/2773248#M86423</guid>
      <dc:creator>webbj</dc:creator>
      <dc:date>2022-09-16T10:55:26Z</dc:date>
    </item>
  </channel>
</rss>

