<?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 calculate collective performance of multiple accounts of sales and target for single customer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4114529#M163314</link>
    <description>&lt;P&gt;Not clear to me what you are trying to accomplish.&amp;nbsp; Do you want to show the group target only for the H row?&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;</description>
    <pubDate>Fri, 23 Aug 2024 01:54:48 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-08-23T01:54:48Z</dc:date>
    <item>
      <title>how to calculate collective performance of multiple accounts of sales and target for single customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4113296#M163243</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wants to calculate a column or dax measure for to calculate group of dealers sales and target, in my working one dealer / customer has multiple accounts in which they are invoicing and singned targets, i wants to calculate their collective sales in next column and collective target in next column and then to calculate their achievmeent % agaisnt collective targets and sales and if dealers has only one account then measure shows only his single accounts sales and target in next columns but if have multiple accounts the shows collectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i have thousands and customer and rows database based on this type of challenge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this in excel file (File is attached) but how to do in Power BI with caculated column or dax measure please guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In excel i am doing this like:&lt;/P&gt;&lt;P&gt;M/s Afzal has 11 accounts in which they are invoicing and has singed their targets accross the countary, i assigned Group name "AFZAL" in column 1 to every ID, then in next column mentions "G" against every group name (Column 2) and then mention "H" head of all accounts in next column (Column 3). Now the formula works as it combine all "Afzal" named sales or target against "H" in seperated columns called individual total target or sales after grouping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Excel sampling picture .... reference file of excel and pbix is also attacehd in one drive:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1TnJK8-PnseCsouKwotBEGWpVYinDFwmG/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1TnJK8-PnseCsouKwotBEGWpVYinDFwmG/view?usp=sharing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 10:07:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4113296#M163243</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2024-08-22T10:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate collective performance of multiple accounts of sales and target for single customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4114529#M163314</link>
      <description>&lt;P&gt;Not clear to me what you are trying to accomplish.&amp;nbsp; Do you want to show the group target only for the H row?&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;</description>
      <pubDate>Fri, 23 Aug 2024 01:54:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4114529#M163314</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-23T01:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate collective performance of multiple accounts of sales and target for single customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4114960#M163327</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342" target="_self"&gt;&lt;SPAN class=""&gt;lbendlin&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;for your such support,&amp;nbsp; yes you reached on my problem, i want to show the group target against "H" in Group Targret Column and if any one has not "H" (mean he is not the part of any group) then his individual target will show in Group Target column.&amp;nbsp; please guide how to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Ali Abbas&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 06:43:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4114960#M163327</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2024-08-23T06:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate collective performance of multiple accounts of sales and target for single customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4115326#M163343</link>
      <description>&lt;P&gt;Group Sales =&lt;BR /&gt;VAR CurrentGroup = PlanningTable[Group Name]&lt;BR /&gt;VAR IsGroupHead = PlanningTable[Group Head "H"] = "H"&lt;BR /&gt;VAR TotalSalesForGroup =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(PlanningTable[Sales]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL(PlanningTable),&lt;BR /&gt;PlanningTable[Group Name] = CurrentGroup&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;VAR GroupHasHead =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(PlanningTable),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL(PlanningTable),&lt;BR /&gt;PlanningTable[Group Name] = CurrentGroup &amp;amp;&amp;amp;&lt;BR /&gt;PlanningTable[Group Head "H"] = "H"&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0&lt;BR /&gt;RETURN&lt;BR /&gt;IF(&lt;BR /&gt;IsGroupHead,&lt;BR /&gt;TotalSalesForGroup,&lt;BR /&gt;IF(&lt;BR /&gt;GroupHasHead,&lt;BR /&gt;BLANK(),&lt;BR /&gt;PlanningTable[Sales]&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This measure has solved my issue ... but tahnk you so much for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This formula ensures that only the "H" account in a group displays the total group sales, while other group members show as blank. For accounts not part of any group, their individual sales will be shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 08:37:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-calculate-collective-performance-of-multiple-accounts-of/m-p/4115326#M163343</guid>
      <dc:creator>123abc</dc:creator>
      <dc:date>2024-08-23T08:37:17Z</dc:date>
    </item>
  </channel>
</rss>

