<?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: Sumarrizing problem in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103242#M109197</link>
    <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Bonus =
VAR SummaryTable =
    ADDCOLUMNS (
        SUMMARIZE ( 'Production', 'Production'[Employee ID], 'Date'[Date] ),
        "@value",
            IF (
                CALCULATE ( SUM ( 'Production'[Production] ) ) &amp;gt;= [ProductionTarget],
                10,
                BLANK ()
            )
    )
RETURN
    SUMX ( SummaryTable, [@value] )
&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 28 Feb 2023 09:36:47 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2023-02-28T09:36:47Z</dc:date>
    <item>
      <title>Sumarrizing problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103159#M109185</link>
      <description>&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;I have a table (Production)&amp;nbsp; in which there is the daily production of the company's personnel. Above a production limit, a productivity bonus is given. The logic is simple:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;DayBonus = IF(SUM(Production[Production])&amp;gt;=[ProductionTarget],10, BLANK())&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;So, the result on a table seems like this:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;The row headers describe the employee number and the column headers, the date.&lt;/DIV&gt;&lt;DIV&gt;Dates come from a separate Date table. Employees' numbers exist only in the main table (Production)&lt;/DIV&gt;&lt;DIV&gt;How can I modify my formula to get the right summarized total results by row and by column?&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;Kostas&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2023 08:46:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103159#M109185</guid>
      <dc:creator>kostask</dc:creator>
      <dc:date>2023-02-28T08:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sumarrizing problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103242#M109197</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Bonus =
VAR SummaryTable =
    ADDCOLUMNS (
        SUMMARIZE ( 'Production', 'Production'[Employee ID], 'Date'[Date] ),
        "@value",
            IF (
                CALCULATE ( SUM ( 'Production'[Production] ) ) &amp;gt;= [ProductionTarget],
                10,
                BLANK ()
            )
    )
RETURN
    SUMX ( SummaryTable, [@value] )
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 28 Feb 2023 09:36:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103242#M109197</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2023-02-28T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sumarrizing problem</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103406#M109213</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="240987" data-lia-user-login="johnt75" class="lia-mention lia-mention-user"&gt;johnt75&lt;/a&gt;&amp;nbsp;works fine!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 11:03:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sumarrizing-problem/m-p/3103406#M109213</guid>
      <dc:creator>kostask</dc:creator>
      <dc:date>2023-02-28T11:03:02Z</dc:date>
    </item>
  </channel>
</rss>

