<?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: Filtering using &amp;quot;in&amp;quot; between two linked tables in Dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3526504#M135504</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644234" data-lia-user-login="atahancelik" class="lia-mention lia-mention-user"&gt;atahancelik&lt;/a&gt;&amp;nbsp;Sample data would help make this clearer. Put Month and Day into a visual as an adhoc hierarchy. Then maybe a measure like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
  VAR __Customers = DISTINCT(SELECTCOLUMNS(FILTER('Sales', [GP] &amp;gt; 0), "__CustID", [customerid]))
  VAR __Result = COUNTROWS(FILTER('Quotes', [customerid] IN __Customers))
RETURN
  __Result&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 10 Nov 2023 00:58:51 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-11-10T00:58:51Z</dc:date>
    <item>
      <title>Filtering using "in" between two linked tables in Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3526477#M135503</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I have two tables named qoutes and sales and these two tables are associated with customerid. I want to count the records in my Qoutes table by grouping them by month and day, but while doing this, I want to count only the values ​​of customer IDs with GP &amp;gt; 0 in the sales table. In other words, I want to filter the customerid values returned from another table by using "in" in a calculate query in which I use the Countrows function. Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;CALCULATE (
    COUNTROWS('Qoutes'),
    RELATEDTABLE('Sales'),
    'Sales'[GP] &amp;gt; 0,
    'Sales'[customerid] IN VALUES('Qoutes'[customerid]),
    VALUES('Qoutes'[Month]),
    VALUES('Qoutes'[Day])
)&lt;/PRE&gt;&lt;P&gt;There are 15 customerids in the Sales Table in the given date range, but there are 10 customerids with Gp &amp;gt; 0. I want to count the values ​​of these 10 customerids in my Qoutes table.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Nov 2023 00:19:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3526477#M135503</guid>
      <dc:creator>atahancelik</dc:creator>
      <dc:date>2023-11-10T00:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering using "in" between two linked tables in Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3526504#M135504</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644234" data-lia-user-login="atahancelik" class="lia-mention lia-mention-user"&gt;atahancelik&lt;/a&gt;&amp;nbsp;Sample data would help make this clearer. Put Month and Day into a visual as an adhoc hierarchy. Then maybe a measure like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
  VAR __Customers = DISTINCT(SELECTCOLUMNS(FILTER('Sales', [GP] &amp;gt; 0), "__CustID", [customerid]))
  VAR __Result = COUNTROWS(FILTER('Quotes', [customerid] IN __Customers))
RETURN
  __Result&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Nov 2023 00:58:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3526504#M135504</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-11-10T00:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering using "in" between two linked tables in Dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3528343#M135580</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 18:36:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-using-quot-in-quot-between-two-linked-tables-in-Dax/m-p/3528343#M135580</guid>
      <dc:creator>shop-tinh-yeu</dc:creator>
      <dc:date>2023-11-10T18:36:21Z</dc:date>
    </item>
  </channel>
</rss>

