<?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 Get first date a value from another column exists in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5156494#M187830</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to normalize a timeseries.&lt;/P&gt;&lt;P&gt;I made a simple example I think if I understand the&amp;nbsp; follwing problem I am closer to write the DAX by myself.&lt;/P&gt;&lt;P&gt;This is my data model:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have a slicer on master_f and oen on master_b to select exactly one value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my DAX:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FirstDatef = VAR SelectedCat = SELECTEDVALUE(master_f[cat])
RETURN 
    CALCULATE(
        MIN(f[date]),
        REMOVEFILTERS(f[date]),
        f[cat] = SelectedCat
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont understand why FirstDatef "is grwoing" together with date when shown in a matix:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My understanding is that all filters are removed, so the min date should alway be the same?!&lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2026 13:31:28 GMT</pubDate>
    <dc:creator>eg1230</dc:creator>
    <dc:date>2026-04-23T13:31:28Z</dc:date>
    <item>
      <title>Get first date a value from another column exists</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5156494#M187830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to normalize a timeseries.&lt;/P&gt;&lt;P&gt;I made a simple example I think if I understand the&amp;nbsp; follwing problem I am closer to write the DAX by myself.&lt;/P&gt;&lt;P&gt;This is my data model:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have a slicer on master_f and oen on master_b to select exactly one value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my DAX:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FirstDatef = VAR SelectedCat = SELECTEDVALUE(master_f[cat])
RETURN 
    CALCULATE(
        MIN(f[date]),
        REMOVEFILTERS(f[date]),
        f[cat] = SelectedCat
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont understand why FirstDatef "is grwoing" together with date when shown in a matix:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My understanding is that all filters are removed, so the min date should alway be the same?!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 13:31:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5156494#M187830</guid>
      <dc:creator>eg1230</dc:creator>
      <dc:date>2026-04-23T13:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get first date a value from another column exists</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5156879#M187832</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1585024" data-lia-user-login="eg1230" class="lia-mention lia-mention-user"&gt;eg1230&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there a couple of things that make the answer difficult&lt;/P&gt;
&lt;P&gt;1 - you should use a calendar table as a dimension&lt;/P&gt;
&lt;P&gt;2 - it seems to me you have a relationship between two facts, you should never connect facts between them but connect them through dimensions&lt;/P&gt;
&lt;P&gt;3 - you seem to have the automatic date time active, it is a best practice to deactivate it (so you use a calendar table dimension)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the pbix so I fix a couple of things and maybe at the same time I solve the measure issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;@me in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank" rel="noopener"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank" rel="noopener"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 19:28:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5156879#M187832</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2026-04-23T19:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get first date a value from another column exists</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5157296#M187834</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1585024" data-lia-user-login="eg1230" class="lia-mention lia-mention-user"&gt;eg1230&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;1. Trying to understand the filter context: the dates field used in the rows of the matrix object comes from the b or the f table?&lt;BR /&gt;2. Can you have a date table with relationships (1-to-many) with both transactional tables (b and f)?&lt;BR /&gt;3. can you advoid the many-to-many bidirectional relationship between b and f?&lt;BR /&gt;4. which are the fields used in each relationship?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2026 21:00:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5157296#M187834</guid>
      <dc:creator>pcoley</dc:creator>
      <dc:date>2026-04-23T21:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get first date a value from another column exists</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5158937#M187857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1585024" data-lia-user-login="eg1230" class="lia-mention lia-mention-user"&gt;eg1230&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Just wanted to check if the responses provided were helpful. If further assistance is needed, please reach out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also to assist better, could you share sample data or sample .pbix file without any sensitive information. You can upload your files to any cloud storage like OneDrive or GoogleDrive and paste the link here with appropriate permissions.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;How to provide sample data in the Power BI Forum - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2026 05:39:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-first-date-a-value-from-another-column-exists/m-p/5158937#M187857</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-04-27T05:39:47Z</dc:date>
    </item>
  </channel>
</rss>

