<?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 and filter data from a separate table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945379#M42351</link>
    <description>&lt;P&gt;Hi Amit!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an interesting read, I will check out what I can do about making a star schema. Currently there is no data I can combine in such a way, but it doesn't mean I can't make something, I have the benefit of editing the telephony report to a certain extent and I'll see what I can do there.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 10:01:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-08T10:01:37Z</dc:date>
    <item>
      <title>Sum and filter data from a separate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945167#M42343</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a total beginner in DAX. I am using it inside a Power Pivot that I'm trying to summarize data with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the thing: I have two separate tables loaded in Power Pivot that contains historical employee data. In my first table I have the name, date, agent call data (length etc.). I want to combine that table with a separate table that contains name, date and telephony statuses so I can calculate and display the amount of time people spent in calls and various statuses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to display all of that in a single pivot, I am losing my mind trying to combine all the data to a single table. I tried applying some Excel logic: filter the Table2 data by name, date and specific status, and then sum it all up in Table1, right?&lt;/P&gt;&lt;P&gt;CALCULATE(SUM(Table2[StatusDuration]),FILTER(Table2,Table2[Name]=Table1[Name]),FILTER(Table2,Table2[Date]=Table1[Date]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sum is not correct, as if I am missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you everyone for your help, let me know if you need additional data.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 08:58:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945167#M42343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-08T08:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and filter data from a separate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945360#M42350</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Is there a combination for which you can create 1-to many join between these two tables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;else you need common tables like name, date etc and analyze data together&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Means a start schema - &lt;A href="https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/" target="_blank"&gt;https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 09:57:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945360#M42350</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-07-08T09:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and filter data from a separate table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945379#M42351</link>
      <description>&lt;P&gt;Hi Amit!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an interesting read, I will check out what I can do about making a star schema. Currently there is no data I can combine in such a way, but it doesn't mean I can't make something, I have the benefit of editing the telephony report to a certain extent and I'll see what I can do there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 10:01:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-and-filter-data-from-a-separate-table/m-p/1945379#M42351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-08T10:01:37Z</dc:date>
    </item>
  </channel>
</rss>

