<?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: Ignore Filter on Month level with Summarize in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Filter-on-Month-level-with-Summarize/m-p/3923237#M152679</link>
    <description>&lt;P&gt;I am assuming you have a relationship between&amp;nbsp;'Date - Report'[DETL_ReportDateSurrogateKey] and a date column in your currency table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One way to solve this would be to create a "Day of Month" column in each, and use this as your relationship and inside the summarize. This would make it agnostic of the Month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have multiple years, you would just need to add this into the column you create. It would result in a many to many join, so would need to be tested. But it's the simplest route without getting into over complex DAX.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 09:13:58 GMT</pubDate>
    <dc:creator>mark_endicott</dc:creator>
    <dc:date>2024-05-16T09:13:58Z</dc:date>
    <item>
      <title>Ignore Filter on Month level with Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Filter-on-Month-level-with-Summarize/m-p/3922240#M152652</link>
      <description>&lt;P&gt;I have a requirement where I have to do the currency conversion for my measure on row level and add them up to get correct data on top levels . Data in my&amp;nbsp; 'Balance Sheet Measures', is available for only July month of each year&amp;nbsp; and because of this I can see the Numbers in July Month only in matrix. Is there any way I can see the July amount in each month , even though it doesn't exist. Basically I want July amount in each Month of that year. I have done summarize here and then Sumx so that different conversion happen on row level and I want to see the sum of those on Month Level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the DAX I have used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VAR BSBalance =

   CALCULATETABLE (

       ADDCOLUMNS (

           SUMMARIZE (

               'Balance Sheet Measures',

               'Date - Report'[DETL_ReportDateSurrogateKey],

               'Currency - Local'[Currency Code]

           ),

           "CBSBalanceAmount", [Balance Sheet Actual Amount] ,

           "CRate", CALCULATE ( AVERAGE ( 'Currency - Exchange Rate'[Currency Rate Amount] ) )),       

               KEEPFILTERS ( TREATAS ( { "M" }, 'Currency - Exchange Rate'[Rate Type Code] ) )

   )

VAR BSResult =

   SUMX (

       BSBalance ,

       IF (

            NOT ISBLANK ( [CRate] ) ,

           [CBSBalanceAmount] / [CRate],

           BLANK ()

       )

   )

RETURN

   BSResult&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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>Thu, 16 May 2024 04:03:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Filter-on-Month-level-with-Summarize/m-p/3922240#M152652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-16T04:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore Filter on Month level with Summarize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Filter-on-Month-level-with-Summarize/m-p/3923237#M152679</link>
      <description>&lt;P&gt;I am assuming you have a relationship between&amp;nbsp;'Date - Report'[DETL_ReportDateSurrogateKey] and a date column in your currency table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One way to solve this would be to create a "Day of Month" column in each, and use this as your relationship and inside the summarize. This would make it agnostic of the Month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have multiple years, you would just need to add this into the column you create. It would result in a many to many join, so would need to be tested. But it's the simplest route without getting into over complex DAX.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 09:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Ignore-Filter-on-Month-level-with-Summarize/m-p/3923237#M152679</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-05-16T09:13:58Z</dc:date>
    </item>
  </channel>
</rss>

