<?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: Multi-row Aggregations in DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844228#M39359</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302232" data-lia-user-login="jrivera43" class="lia-mention lia-mention-user"&gt;jrivera43&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know well how your data model looks like. But I tried to create the below sample pbix file based on the explanation.&lt;/P&gt;&lt;P&gt;I suggest having dim table like below.&lt;/P&gt;&lt;P&gt;please check the below picture and the sample pbix file's link down below.&lt;/P&gt;&lt;P&gt;All measures are in the sample pbix file.&lt;/P&gt;&lt;P&gt;&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;&lt;A href="https://www.dropbox.com/s/pkq9eo4oral5wei/jrivera.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/pkq9eo4oral5wei/jrivera.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 16 May 2021 04:53:14 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2021-05-16T04:53:14Z</dc:date>
    <item>
      <title>Multi-row Aggregations in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844159#M39356</link>
      <description>&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Does anyone know how to create multi-row aggregations like this in DAX? I need to get a subcategory under the main category like the image below. I need to create a virtual table first to create a measure from. Any help would be appreciated.&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 00:22:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844159#M39356</guid>
      <dc:creator>jrivera43</dc:creator>
      <dc:date>2021-05-16T00:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-row Aggregations in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844228#M39359</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302232" data-lia-user-login="jrivera43" class="lia-mention lia-mention-user"&gt;jrivera43&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know well how your data model looks like. But I tried to create the below sample pbix file based on the explanation.&lt;/P&gt;&lt;P&gt;I suggest having dim table like below.&lt;/P&gt;&lt;P&gt;please check the below picture and the sample pbix file's link down below.&lt;/P&gt;&lt;P&gt;All measures are in the sample pbix file.&lt;/P&gt;&lt;P&gt;&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;&lt;A href="https://www.dropbox.com/s/pkq9eo4oral5wei/jrivera.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/pkq9eo4oral5wei/jrivera.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Linkedin: linkedin.com/in/jihwankim1975/&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Twitter: twitter.com/Jihwan_JHKIM&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 May 2021 04:53:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844228#M39359</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-16T04:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-row Aggregations in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844695#M39372</link>
      <description>&lt;P&gt;Thanks Jiwan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you show me what the DAX would look like to create a virtual table using the same structure as the ones shown?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 01:27:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844695#M39372</guid>
      <dc:creator>jrivera43</dc:creator>
      <dc:date>2021-05-17T01:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-row Aggregations in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844896#M39374</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="302232" data-lia-user-login="jrivera43" class="lia-mention lia-mention-user"&gt;jrivera43&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;Sorry that I quite do not understand your question.&lt;/P&gt;&lt;P&gt;Do you want to write an incomplete measure? And may I ask what is it for?&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 03:15:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1844896#M39374</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-05-17T03:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-row Aggregations in DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1846240#M39389</link>
      <description>&lt;P&gt;I would like to create a flag measure. The flag measure needs to show whether the calculation is over or under a certain amount. Using something similar to the example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately I want to get to this:&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 12:25:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multi-row-Aggregations-in-DAX/m-p/1846240#M39389</guid>
      <dc:creator>jrivera43</dc:creator>
      <dc:date>2021-05-17T12:25:04Z</dc:date>
    </item>
  </channel>
</rss>

