<?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 Matrix visual showing only selected date for current month instead of all dates up to selected date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856680#M185295</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m facing an issue with my Power BI report related to date filtering.&lt;/P&gt;&lt;P&gt;In my dataset, the date column contains end-of-month dates for all previous months, but for the current month, it contains daily dates (e.g., 1 Oct, 2 Oct, 3 Oct… etc.).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Here’s the behavior I’m seeing:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I select a date from previous months (like 30 Sep), my matrix visual correctly shows the data for that month.&lt;/LI&gt;&lt;LI&gt;But when I select a date from the current month (for example, 15 Oct), the matrix shows data only for that single date, instead of showing all the daily production data from 1 Oct to 15 Oct.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;My requirement :&lt;/STRONG&gt; When I select 15 Oct, the matrix should display data for all dates from 1 Oct to 15 Oct.&lt;/P&gt;&lt;P&gt;Can someone please guide me on how to achieve this behavior in Power BI?&lt;BR /&gt;Do I need to use a disconnected date slicer or a specific DAX measure to make the matrix show all dates up to the selected date?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 23 Oct 2025 09:20:50 GMT</pubDate>
    <dc:creator>Mohan_Vanku</dc:creator>
    <dc:date>2025-10-23T09:20:50Z</dc:date>
    <item>
      <title>Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856680#M185295</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m facing an issue with my Power BI report related to date filtering.&lt;/P&gt;&lt;P&gt;In my dataset, the date column contains end-of-month dates for all previous months, but for the current month, it contains daily dates (e.g., 1 Oct, 2 Oct, 3 Oct… etc.).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Here’s the behavior I’m seeing:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I select a date from previous months (like 30 Sep), my matrix visual correctly shows the data for that month.&lt;/LI&gt;&lt;LI&gt;But when I select a date from the current month (for example, 15 Oct), the matrix shows data only for that single date, instead of showing all the daily production data from 1 Oct to 15 Oct.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;My requirement :&lt;/STRONG&gt; When I select 15 Oct, the matrix should display data for all dates from 1 Oct to 15 Oct.&lt;/P&gt;&lt;P&gt;Can someone please guide me on how to achieve this behavior in Power BI?&lt;BR /&gt;Do I need to use a disconnected date slicer or a specific DAX measure to make the matrix show all dates up to the selected date?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:20:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856680#M185295</guid>
      <dc:creator>Mohan_Vanku</dc:creator>
      <dc:date>2025-10-23T09:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856690#M185296</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339991" data-lia-user-login="Mohan_Vanku" class="lia-mention lia-mention-user"&gt;Mohan_Vanku&lt;/a&gt;&amp;nbsp;, Try using&lt;/P&gt;
&lt;P&gt;Create a Disconnected Date Table&lt;/P&gt;
&lt;P&gt;Create a new date table that covers the full range of dates you want to allow for selection (e.g., all possible daily dates).&lt;BR /&gt;Do NOT create a relationship between this table and your fact table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;SelectedDate = MAX('DisconnectedDate'[Date])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ShowData =&lt;BR /&gt;IF(&lt;BR /&gt;MAX('FactTable'[Date]) &amp;lt;= [SelectedDate],&lt;BR /&gt;SUM('FactTable'[Value]), // or your aggregation&lt;BR /&gt;BLANK()&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use this in matrix&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:31:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856690#M185296</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2025-10-23T09:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856703#M185297</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339991" data-lia-user-login="Mohan_Vanku" class="lia-mention lia-mention-user"&gt;Mohan_Vanku&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="119" data-end="367"&gt;This happens because your current month has daily dates, so when you pick a single date (like 15 Oct), Power BI only shows that one day’s data. You need to tell Power BI to include all days from the start of the month up to the date you selected.&lt;/P&gt;
&lt;P data-start="369" data-end="399"&gt;Try this simple DAX measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ShowTillSelectedDate =
VAR _maxDate = MAX('Date'[Date])
VAR _monthStart = STARTOFMONTH('Date'[Date])
RETURN
IF(
    'Date'[Date] &amp;gt;= _monthStart &amp;amp;&amp;amp;
    'Date'[Date] &amp;lt;= _maxDate,
    1
)&lt;/LI-CODE&gt;
&lt;P data-start="598" data-end="687"&gt;Now, add this measure to your visual filter and set it to ShowTillSelectedDate = 1.&lt;/P&gt;
&lt;P data-start="689" data-end="845"&gt;This will make your matrix display data from 1 Oct to 15 Oct when you select 15 Oct and for past months, it will still show the full month as usual.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 09:39:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856703#M185297</guid>
      <dc:creator>rohit1991</dc:creator>
      <dc:date>2025-10-23T09:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856746#M185300</link>
      <description>&lt;P&gt;Thanks for the quick response, I tried this measure but it is still not working Rohit.&lt;BR /&gt;Here we have slicer dates(selectdate) and matrix visual dates coming from same table (calendar).&lt;BR /&gt;When I select date from previous months it is showing all the dates for that particular month.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I select Oct 15 in current month date selection it is showing only single date in raw data.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;How do I achieve my solution when I have these conditions?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 10:34:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856746#M185300</guid>
      <dc:creator>Mohan_Vanku</dc:creator>
      <dc:date>2025-10-23T10:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856880#M185309</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Use a standard date table with continuous dates. Create this measure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Production to Date =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;SUM(Production[Value]),&lt;BR /&gt;FILTER(&lt;BR /&gt;ALL('Date'),&lt;BR /&gt;'Date'[Date] &amp;lt;= MAX('Date'[Date]) &amp;amp;&amp;amp;&lt;BR /&gt;'Date'[Date] &amp;gt;= EOMONTH(MAX('Date'[Date]), -1) + 1&lt;BR /&gt;)&lt;BR /&gt;)
&lt;DIV class=""&gt;&amp;nbsp;
&lt;DIV class=""&gt;
&lt;P&gt;Use this measure in your matrix and slice by your date table, not the production date column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Oct 2025 12:27:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856880#M185309</guid>
      <dc:creator>Kedar_Pande</dc:creator>
      <dc:date>2025-10-23T12:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856902#M185311</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="568855" data-lia-user-login="Kedar_Pande" class="lia-mention lia-mention-user"&gt;Kedar_Pande&lt;/a&gt;&amp;nbsp; thanks for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been a fan of your videos over the youtube.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for taking time and providing the suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my dataset here,&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;I am using SelectedDate slicer which is coming from _cmpst_calender table.&lt;BR /&gt;As i said SelectedDate column contains - until previous month, it will have end of month date, but for the current month, it will have continous dates.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Relationships -&amp;nbsp;&lt;BR /&gt;_cmpst_calender[Date] &amp;lt;1-1&amp;gt; Calender[Date]&lt;/P&gt;&lt;P&gt;Calender[Date] 1-M --&amp;gt; Agg_Transactions[EntryDate]&lt;BR /&gt;the production measure is present in Agg_transactions.&lt;BR /&gt;&lt;BR /&gt;Please provide more details, like do i need to create another date table which is not connected to any other tables?&lt;BR /&gt;and create the measure as u mentioned?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 13:00:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4856902#M185311</guid>
      <dc:creator>Mohan_Vanku</dc:creator>
      <dc:date>2025-10-23T13:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4858260#M185332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339991" data-lia-user-login="Mohan_Vanku" class="lia-mention lia-mention-user"&gt;Mohan_Vanku&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, your month is set up with daily dates, so selecting a single day (like 15 Oct) filters the Calendar to just that day, and the matrix displays only that date. To have the matrix show all days from the start of the month up to the selected date, you can use a disconnected “SelectedDate” slicer, which isn’t linked to the model tables, and let your measure handle what’s visible. The slicer acts as a cutoff date (such as 15 Oct) without actually filtering the Calendar. Your measure then checks each date in the Calendar against two points: the start of the month and the cutoff date. If a date falls within this range, it’s shown; otherwise, it’s blank. &lt;BR /&gt;For previous months, the slicer uses the end-of-month value, so the matrix shows the full month. For the current month, it displays from the 1st to the selected day. This approach separates the concept of selection (cutoff) from filtering (Calendar), allowing the matrix to expand to the full month-to-date view instead of just a single day.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 04:24:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4858260#M185332</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-10-25T04:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4859067#M185344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339991" data-lia-user-login="Mohan_Vanku" class="lia-mention lia-mention-user"&gt;Mohan_Vanku&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This issue happens because your SelectedDate table has:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;End-of-month dates for older months, and&lt;/LI&gt;
&lt;LI&gt;Daily dates for the current month.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, when you select a date like 15 Oct, Power BI shows only that day’s data.&lt;/P&gt;
&lt;P&gt;To fix this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new DAX measure:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ShowTillSelectedDate =&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VAR _maxDate = MAX('cmpst_calendar'[SelectedDate])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VAR _monthStart = STARTOFMONTH('cmpst_calendar'[SelectedDate])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RETURN&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IF(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'cmpst_calendar'[SelectedDate] &amp;gt;= _monthStart &amp;amp;&amp;amp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'cmpst_calendar'[SelectedDate] &amp;lt;= _maxDate,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;)​&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2.Add this measure to your visual-level filters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;3.Set the filter to ShowTillSelectedDate = 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;4.Use the date from your calendar table (not production date).&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 07:15:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4859067#M185344</guid>
      <dc:creator>rohit1991</dc:creator>
      <dc:date>2025-10-27T07:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4860319#M185393</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339991" data-lia-user-login="Mohan_Vanku" class="lia-mention lia-mention-user"&gt;Mohan_Vanku&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Just wanted to follow up and confirm that everything has been going well on this. Please let me know if there’s anything from our end.&lt;BR /&gt;Please feel free to reach out Microsoft fabric community forum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 08:25:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4860319#M185393</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-10-28T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix visual showing only selected date for current month instead of all dates up to selected date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4863180#M185493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1339991" data-lia-user-login="Mohan_Vanku" class="lia-mention lia-mention-user"&gt;Mohan_Vanku&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Just looping back one last time to check if everything's good on your end. Let me know if you need any final support happy to assist if anything’s still open.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2025 09:05:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-visual-showing-only-selected-date-for-current-month/m-p/4863180#M185493</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-10-31T09:05:59Z</dc:date>
    </item>
  </channel>
</rss>

