<?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: Look up the first (and only) occurence of a value DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3088039#M108048</link>
    <description>&lt;P&gt;Thank you, it doesnt seem like I have permission to add columns. But I will present the soultion for somone with access.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 13:32:46 GMT</pubDate>
    <dc:creator>MHB1980</dc:creator>
    <dc:date>2023-02-20T13:32:46Z</dc:date>
    <item>
      <title>Look up the first (and only) occurence of a value DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3087986#M108041</link>
      <description>&lt;P&gt;Hi, I have a table that looks like this. (There are a lot more of other columns aswell) but if could make a dax that applies to the colums in the example it would help for the whole report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to return _only_ the first line where the "HarvestAverageWeightClosing" goes from 0 to any number. The dataset contains multiple sitenames, unitnames and date. But it will always be a unique "first" date for each sitename and unitname. I have tried several soution, also with date filters, but it wont help as the values in some cases duplicates "forever"&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>Mon, 20 Feb 2023 13:14:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3087986#M108041</guid>
      <dc:creator>MHB1980</dc:creator>
      <dc:date>2023-02-20T13:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Look up the first (and only) occurence of a value DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3088011#M108042</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="516605" data-lia-user-login="MHB1980" class="lia-mention lia-mention-user"&gt;MHB1980&lt;/a&gt; , Create a new column like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;flag= &lt;BR /&gt;var _min = Minx(filter(Table, [Sitename] = earlier([Sitename]) &amp;amp;&amp;amp; [UnitName] = earlier([Unitname]) &amp;amp;&amp;amp; [HarvestAverageWeightClosing]&amp;gt;0), [Date])&lt;BR /&gt;return &lt;BR /&gt;if(_min = [Date], 1, 0)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 13:24:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3088011#M108042</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-02-20T13:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Look up the first (and only) occurence of a value DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3088039#M108048</link>
      <description>&lt;P&gt;Thank you, it doesnt seem like I have permission to add columns. But I will present the soultion for somone with access.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 13:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-up-the-first-and-only-occurence-of-a-value-DAX/m-p/3088039#M108048</guid>
      <dc:creator>MHB1980</dc:creator>
      <dc:date>2023-02-20T13:32:46Z</dc:date>
    </item>
  </channel>
</rss>

