<?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 How to use SUMMARIZE inside a calculated column? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4000040#M155764</link>
    <description>&lt;P&gt;I'm trying to get information from aggregated version of my table into my original table as a column, but im not sure how to do it.&lt;BR /&gt;Find the sample ecxample below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table contains 4 column - EMP_ID, DATE, MONTHLY SALARY, DESIGNATION&lt;BR /&gt;I want to create new column called TOTAL SALARY which is the sum of salary for each employee available in data.&lt;BR /&gt;There is time filter as well, like if I select 6 months in the filter visual the total salary should be populated as total six months salary.&lt;BR /&gt;I couldn't find a way to do it in PBI using DAX/POWER QUERY.&lt;BR /&gt;Please help me on this!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 11:50:57 GMT</pubDate>
    <dc:creator>aji549</dc:creator>
    <dc:date>2024-06-19T11:50:57Z</dc:date>
    <item>
      <title>How to use SUMMARIZE inside a calculated column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4000040#M155764</link>
      <description>&lt;P&gt;I'm trying to get information from aggregated version of my table into my original table as a column, but im not sure how to do it.&lt;BR /&gt;Find the sample ecxample below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table contains 4 column - EMP_ID, DATE, MONTHLY SALARY, DESIGNATION&lt;BR /&gt;I want to create new column called TOTAL SALARY which is the sum of salary for each employee available in data.&lt;BR /&gt;There is time filter as well, like if I select 6 months in the filter visual the total salary should be populated as total six months salary.&lt;BR /&gt;I couldn't find a way to do it in PBI using DAX/POWER QUERY.&lt;BR /&gt;Please help me on this!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 11:50:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4000040#M155764</guid>
      <dc:creator>aji549</dc:creator>
      <dc:date>2024-06-19T11:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SUMMARIZE inside a calculated column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4000124#M155773</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="762608" data-lia-user-login="aji549" class="lia-mention lia-mention-user"&gt;aji549&lt;/a&gt;&amp;nbsp;Not sure I am following this. Calculated columns cannot be affected by filters so you would need a measure in that case. As a measure, you could potentially do something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Emp = MAX('Table'[EMP_ID])
  VAR __Result = SUMX( FILTER( ALLSELECTED( 'Table' ), [EMP_ID} = __Emp ), [SALARY] )
RETURN
  __Result&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Jun 2024 12:25:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4000124#M155773</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-06-19T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use SUMMARIZE inside a calculated column?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4001237#M155930</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="762608" data-lia-user-login="aji549" class="lia-mention lia-mention-user"&gt;aji549&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can refer to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;reply. If it doesn't meet your needs, you can refer to the following DAX.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total SALARY = CALCULATE(
    SUM('Table'[SALARY]),
    FILTER(
        'Table',
        'Table'[EMP_ID] = EARLIER('Table'[EMP_ID])
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify; text-justify: inter-ideograph;"&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Yang&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Community Support Team&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;SPAN&gt;If there is any post &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;Accept it as the solution&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know. &lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="background: white;"&gt;&lt;U&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365912356%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7IzyI2%2FMOAR%2FYCjWYSKCZL2VPmT4PsxuWBjdUdMWKzo%3D&amp;amp;reserved=0" data-auth="NotApplicable" target="_blank"&gt;How to get your questions answered quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;-- &lt;/SPAN&gt;&lt;U&gt;&lt;SPAN&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365919045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=VeafzdwAsrpisD8s261%2FdyOwJ1aCtBXS3bPA6NODOHY%3D&amp;amp;reserved=0" data-auth="NotApplicable" target="_blank"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/SPAN&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 06:23:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-use-SUMMARIZE-inside-a-calculated-column/m-p/4001237#M155930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-20T06:23:52Z</dc:date>
    </item>
  </channel>
</rss>

