<?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 aggregate rows based on columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2971067#M99293</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475101" data-lia-user-login="Praj" class="lia-mention lia-mention-user"&gt;Praj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of multiple status for one account, which do you expect to return?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 14:31:25 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2022-12-15T14:31:25Z</dc:date>
    <item>
      <title>How to aggregate rows based on columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2970955#M99281</link>
      <description>&lt;P&gt;Hello Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the below source table where each account has the RAG status.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a new output table from the above pasted table to get the unique account name and respective status. Below is the output table I am looking for using DAX.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I tried the lookup however, due to accounts associated with multiple status it throwed an error. Any approach on this problem will help me a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Praj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 13:58:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2970955#M99281</guid>
      <dc:creator>Praj</dc:creator>
      <dc:date>2022-12-15T13:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate rows based on columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2971067#M99293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475101" data-lia-user-login="Praj" class="lia-mention lia-mention-user"&gt;Praj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case of multiple status for one account, which do you expect to return?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:31:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2971067#M99293</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-15T14:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate rows based on columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2971098#M99296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In case of multiple status, I am expecting the worst case. (If single account has red and green status, I am looking for red as the final status in my output table)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 14:39:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2971098#M99296</guid>
      <dc:creator>Praj</dc:creator>
      <dc:date>2022-12-15T14:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to aggregate rows based on columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2991218#M100653</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475101" data-lia-user-login="Praj" class="lia-mention lia-mention-user"&gt;Praj&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = DISTINCT( SELECTCOLUMNS('Table',"Account",[Account],"Status",[Status]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&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;Eyelyn Qin&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>Wed, 28 Dec 2022 07:05:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-aggregate-rows-based-on-columns/m-p/2991218#M100653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-28T07:05:14Z</dc:date>
    </item>
  </channel>
</rss>

