<?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: new measure of the same row values ​​with filters applied in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-measure-of-the-same-row-values-with-filters-applied/m-p/1370251#M24951</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="246215" data-lia-user-login="ewelinag17" class="lia-mention lia-mention-user"&gt;ewelinag17&lt;/a&gt;&amp;nbsp;Can you explain where the 7 is coming from? I can't figure out the logic to get 7. Is it the lines that are "in" and less than the Indeks of the "out"? If so, it should be something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Indeks = MAXX(FILTER('Table',[in/out]="out"),[Indeks])
RETURN
  COUNTROWS(FILTER('Table',[Indeks]&amp;lt;__Indeks &amp;amp;&amp;amp; [in/out]="in"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 22:52:49 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2020-09-14T22:52:49Z</dc:date>
    <item>
      <title>new measure of the same row values ​​with filters applied</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-measure-of-the-same-row-values-with-filters-applied/m-p/1370239#M24950</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;I have a question.&lt;/P&gt;&lt;P&gt;I have two tables with excel connected by relations. Based on them, I created the table below in my report. The table contains all the information I need. Columns: Data, Index, Ba, in / out, Page number, material come from table 1. Column: Sh comes from table 2.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The report includes filters for: date, site number, material, and Sh. I'm having trouble creating a measure that will count the values ​​of in from the last row until it encounters the value of out. Out means the end of counting lines. Here, for my photo, the measure result should be 7.&lt;/P&gt;&lt;P&gt;Can it be solved with one measure?&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 22:39:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-measure-of-the-same-row-values-with-filters-applied/m-p/1370239#M24950</guid>
      <dc:creator>ewelinag17</dc:creator>
      <dc:date>2020-09-14T22:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: new measure of the same row values ​​with filters applied</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-measure-of-the-same-row-values-with-filters-applied/m-p/1370251#M24951</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="246215" data-lia-user-login="ewelinag17" class="lia-mention lia-mention-user"&gt;ewelinag17&lt;/a&gt;&amp;nbsp;Can you explain where the 7 is coming from? I can't figure out the logic to get 7. Is it the lines that are "in" and less than the Indeks of the "out"? If so, it should be something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Indeks = MAXX(FILTER('Table',[in/out]="out"),[Indeks])
RETURN
  COUNTROWS(FILTER('Table',[Indeks]&amp;lt;__Indeks &amp;amp;&amp;amp; [in/out]="in"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 22:52:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/new-measure-of-the-same-row-values-with-filters-applied/m-p/1370251#M24951</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-09-14T22:52:49Z</dc:date>
    </item>
  </channel>
</rss>

