<?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 can I combine year start data with year-round data? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4856762#M185303</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1376354" data-lia-user-login="beginnerBee" class="lia-mention lia-mention-user"&gt;beginnerBee&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 10:24:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-10-23T10:24:59Z</dc:date>
    <item>
      <title>How can I combine year start data with year-round data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4854879#M185246</link>
      <description>&lt;P&gt;I have two sets of DAX measures:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;One set calculates the &lt;STRONG&gt;Year Start&lt;/STRONG&gt; values based on a specific reference_date.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The other set calculates &lt;STRONG&gt;monthly values&lt;/STRONG&gt; that dynamically change depending on the selected reference_date from a slicer.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My goal is to display both sets of values in a single table. However, I'm facing an issue: when I select a reference_date in the slicer &lt;STRONG&gt;other than the specific one used for the Year Start measures&lt;/STRONG&gt;, those Year Start values disappear.&lt;/P&gt;&lt;P&gt;I’ve tried using REMOVEFILTERS(reference_date) in the Year Start measures, hoping it would ignore the slicer selection and always show the correct values. But that doesn’t seem to work — the slicer still affects the output.&lt;/P&gt;&lt;P&gt;How can I properly combine these two sets of measures in one table, ensuring that the Year Start values remain fixed (based on a specific reference_date) regardless of slicer selection, while the monthly values stay dynamic?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 13:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4854879#M185246</guid>
      <dc:creator>beginnerBee</dc:creator>
      <dc:date>2025-10-21T13:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine year start data with year-round data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4855073#M185253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1376354" data-lia-user-login="beginnerBee" class="lia-mention lia-mention-user"&gt;beginnerBee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can achieve your desired outcome of ignoring the month filter for the beginning balance while respecting the month filter for the dynamic monthly sales by setting up disconnected slicer table like below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;I have attached an example pbix file for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Then you can write the fixed beginning balance like below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Fixed Year Start Sales = 
CALCULATE(
    SUM(Sales[Amount]),
    'Date'[Month Number] = 1, // Hardcoded filter for January
    ALL('Date'[Month-Year], 'Date'[Month Number]) // Ignores the row context
)&lt;/LI-CODE&gt;
&lt;P&gt;While the dynamic monthly sales measure showing up to the date of the slicer is as shown below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Dynamic Monthly Sales = 
VAR SelectedDate = [Selected Reference Date]
RETURN
    // Usual adding up will produce incorrect total
    // Check if we are on a single row (like "2025-01") or the "Total" row
    IF (
        HASONEVALUE ( 'Date'[Month-Year] ),
        
        // --- LOGIC FOR A SINGLE ROW ---
        // (This is the simple logic that was already working)
        VAR CurrentMonthStartDate = MIN ( 'Date'[Date] )
        RETURN
            IF (
                CurrentMonthStartDate &amp;lt;= SelectedDate,
                SUM ( Sales[Amount] ),
                BLANK ()
            ),
            
        // --- LOGIC FOR THE TOTAL ROW ---
        // (Iterate over each month, apply the row logic, and sum the results)
        SUMX (
            VALUES ( 'Date'[Month-Year] ),
            
            // This CALCULATE forces the logic inside to be
            // evaluated for each specific month in the iteration
            CALCULATE (
                VAR CurrentMonthStartDate = MIN ( 'Date'[Date] )
                RETURN
                    IF (
                        CurrentMonthStartDate &amp;lt;= SelectedDate,
                        SUM ( Sales[Amount] ),
                        BLANK ()
                    )
            )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;The resultant table respects your slicer from disconnected date table.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 15:47:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4855073#M185253</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2025-10-21T15:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine year start data with year-round data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4856762#M185303</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1376354" data-lia-user-login="beginnerBee" class="lia-mention lia-mention-user"&gt;beginnerBee&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 10:24:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4856762#M185303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-10-23T10:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I combine year start data with year-round data?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4858892#M185340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1376354" data-lia-user-login="beginnerBee" class="lia-mention lia-mention-user"&gt;beginnerBee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 04:49:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-can-I-combine-year-start-data-with-year-round-data/m-p/4858892#M185340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-10-27T04:49:32Z</dc:date>
    </item>
  </channel>
</rss>

