<?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: problem with with sum by each month by conditional measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118644#M163521</link>
    <description>&lt;LI-CODE lang="markup"&gt;SalesMargin = SUMX(SUMMARIZE('Sales SalesOrderHeader','Calendar'[Year],'Calendar'[Month number],'Sales SalesTerritory'[Name])
,IF([Sales Qty] &amp;gt;= 200 &amp;amp;&amp;amp; [Sales Qty] &amp;lt; 400, 500, 0)
)&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 26 Aug 2024 12:59:20 GMT</pubDate>
    <dc:creator>sjoerdvn</dc:creator>
    <dc:date>2024-08-26T12:59:20Z</dc:date>
    <item>
      <title>problem with with sum by each month by conditional measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118603#M163518</link>
      <description>&lt;P&gt;I'm trying to solve my problem with sum on columns and rows.&lt;/P&gt;&lt;P&gt;My measures&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SalesMargin =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Sales Qty]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt;= &lt;/SPAN&gt;&lt;SPAN&gt;200&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;[Sales Qty]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt; &lt;/SPAN&gt;&lt;SPAN&gt;400&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;500&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sales Qty =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sales SalesOrderDetail'&lt;/SPAN&gt;&lt;SPAN&gt;[OrderQty]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Samlpe data is from AdventureWorks2022 database.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&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;How can I chanage my measures to see sums from my condition ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;these is my report&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="test report" href="https://file.io/iWYyPEPxVcc9" target="_self"&gt;https://file.io/iWYyPEPxVcc9&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 12:37:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118603#M163518</guid>
      <dc:creator>Marcin200800</dc:creator>
      <dc:date>2024-08-26T12:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: problem with with sum by each month by conditional measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118629#M163519</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="565646" data-lia-user-login="Marcin200800" class="lia-mention lia-mention-user"&gt;Marcin200800&lt;/a&gt;&amp;nbsp;First, please vote for this idea: &lt;A href="https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e" target="_blank"&gt;https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like a measure totals problem. Very common. See my post about it here: &lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also: &lt;A href="https://youtu.be/uXRriTN0cfY" target="_blank"&gt;https://youtu.be/uXRriTN0cfY&lt;/A&gt;&lt;BR /&gt;And: &lt;A href="https://youtu.be/n4TYhF2ARe8" target="_blank"&gt;https://youtu.be/n4TYhF2ARe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 12:49:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118629#M163519</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-08-26T12:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem with with sum by each month by conditional measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118644#M163521</link>
      <description>&lt;LI-CODE lang="markup"&gt;SalesMargin = SUMX(SUMMARIZE('Sales SalesOrderHeader','Calendar'[Year],'Calendar'[Month number],'Sales SalesTerritory'[Name])
,IF([Sales Qty] &amp;gt;= 200 &amp;amp;&amp;amp; [Sales Qty] &amp;lt; 400, 500, 0)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 26 Aug 2024 12:59:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/problem-with-with-sum-by-each-month-by-conditional-measure/m-p/4118644#M163521</guid>
      <dc:creator>sjoerdvn</dc:creator>
      <dc:date>2024-08-26T12:59:20Z</dc:date>
    </item>
  </channel>
</rss>

