<?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 to select a subset of a table by a Date Slicer and then group it twice by multiple columns? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3090813#M108269</link>
    <description>&lt;P&gt;Hi wdx223_Daniel,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your suggestion.&lt;/P&gt;&lt;P&gt;However, all I have is the input Table 1, whereas the Table 2, Table 3 and Table 4 are just virtual tables which are assume to be obtained after the processing specified at each step. What I would like to know is:&lt;BR /&gt;1. how to get Table 2 from Table 1 with dax function?&lt;/P&gt;&lt;P&gt;2. how to get Table 3 from Table 2 with dax function?&lt;/P&gt;&lt;P&gt;3. how to get Table 4 from Table 3 with dax function?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In other words, what is the right dax function to get the IB-OB from Table?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 16:04:56 GMT</pubDate>
    <dc:creator>MyPI</dc:creator>
    <dc:date>2023-02-21T16:04:56Z</dc:date>
    <item>
      <title>How to select a subset of a table by a Date Slicer and then group it twice by multiple columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3088465#M108086</link>
      <description>&lt;P&gt;Input &lt;STRONG&gt;Table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Use a Date slicer to pick up the date range from 11/29/2022 to 11/30/2022 get &lt;STRONG&gt;Table 2&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calculate the&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="Calibri" color="#000000"&gt;Total_Availability_By_Group&lt;/FONT&gt;&lt;/STRONG&gt; by groupping the &lt;STRONG&gt;Product_Name&lt;/STRONG&gt;, &lt;STRONG&gt;Product_Type&lt;/STRONG&gt; and &lt;STRONG&gt;Availability_Type &lt;/STRONG&gt;to get&lt;STRONG&gt; Table 3&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, calculate the &lt;STRONG&gt;IB-OB &lt;/STRONG&gt;by groupping the &lt;STRONG&gt;Product_Name &lt;/STRONG&gt;and the &lt;STRONG&gt;Product_Type to &lt;/STRONG&gt;get &lt;STRONG&gt;Table 4&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;Any idea how to get the &lt;STRONG&gt;IB-OB &lt;/STRONG&gt;or the &lt;STRONG&gt;Table 4 &lt;/STRONG&gt;with Dax functions? Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 16:39:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3088465#M108086</guid>
      <dc:creator>MyPI</dc:creator>
      <dc:date>2023-02-20T16:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a subset of a table by a Date Slicer and then group it twice by multiple columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3089244#M108133</link>
      <description>&lt;P&gt;put Product_Name and Product_Type on the rows and try this measure&lt;/P&gt;
&lt;P&gt;IB-OB=CALCULATE(SUM(Table[Availablity]),Table[Availability_Type]="IB")-CALCULATE(SUM(Table[Availablity]),Table[Availability_Type]="OB")&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 02:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3089244#M108133</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-02-21T02:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a subset of a table by a Date Slicer and then group it twice by multiple columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3090813#M108269</link>
      <description>&lt;P&gt;Hi wdx223_Daniel,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you for your suggestion.&lt;/P&gt;&lt;P&gt;However, all I have is the input Table 1, whereas the Table 2, Table 3 and Table 4 are just virtual tables which are assume to be obtained after the processing specified at each step. What I would like to know is:&lt;BR /&gt;1. how to get Table 2 from Table 1 with dax function?&lt;/P&gt;&lt;P&gt;2. how to get Table 3 from Table 2 with dax function?&lt;/P&gt;&lt;P&gt;3. how to get Table 4 from Table 3 with dax function?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In other words, what is the right dax function to get the IB-OB from Table?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 16:04:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-select-a-subset-of-a-table-by-a-Date-Slicer-and-then/m-p/3090813#M108269</guid>
      <dc:creator>MyPI</dc:creator>
      <dc:date>2023-02-21T16:04:56Z</dc:date>
    </item>
  </channel>
</rss>

