<?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 for a value filtering by month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3109320#M109744</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523639" data-lia-user-login="Juan_91" class="lia-mention lia-mention-user"&gt;Juan_91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to plot a matrix visual like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2023 02:45:45 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-03-03T02:45:45Z</dc:date>
    <item>
      <title>Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3109293#M109743</link>
      <description>&lt;P&gt;Hello, i'm totally new in DAX. Hope you can help me! I don't know what mesure can i do for this example: i have two tables, one of them has 6 different names and the other table has some of the names with the month (like the tables below). I would like to know (making a dynamic table that allows me filter by month) how many times appear the names in, for example, april (in that case only John appears 1 time in April and the others 0 times); or, for example, how many times appear the names in june (in that case John appears 2 times, Tom 1 time, and the others 0 times).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Table 1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&g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/TR&gt;&lt;TR&gt;&lt;TD&gt;Jul&lt;/TD&gt;&lt;TD&gt;Tom&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jul&lt;/TD&gt;&lt;TD&gt;Jacob&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Aug&lt;/TD&gt;&lt;TD&gt;Jacob&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually the real case is another but this example is a representation of what i would need help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for the reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I really appreciate it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 02:25:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3109293#M109743</guid>
      <dc:creator>Juan_91</dc:creator>
      <dc:date>2023-03-03T02:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3109320#M109744</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523639" data-lia-user-login="Juan_91" class="lia-mention lia-mention-user"&gt;Juan_91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to plot a matrix visual like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 02:45:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3109320#M109744</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-03T02:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110128#M109817</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;. Thanks for your reply. Actually i'm working with Power Pivot and Excel. And i would like to do a dynamic table in the excel with the data model. I'm looking for a dynamic table like Table 1 but with one more column containing how many times the names repeat in the month selected. I think i should create a measure with the tables, but i don't know what kind of it.&amp;nbsp;&lt;BR /&gt;Hope i can exlain me well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 11:31:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110128#M109817</guid>
      <dc:creator>Juan_91</dc:creator>
      <dc:date>2023-03-03T11:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110240#M109827</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523639" data-lia-user-login="Juan_91" class="lia-mention lia-mention-user"&gt;Juan_91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can just create a standard pivot table with slicer, with no measure, like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 12:27:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110240#M109827</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-03T12:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110283#M109831</link>
      <description>&lt;P&gt;Yes! is that an option. But i have another problem. I have an inactive relationship between the two tables. Is possible to do that but keeping the inactive relationship?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 12:46:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110283#M109831</guid>
      <dc:creator>Juan_91</dc:creator>
      <dc:date>2023-03-03T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110324#M109834</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523639" data-lia-user-login="Juan_91" class="lia-mention lia-mention-user"&gt;Juan_91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;everything is from Table2, so it has nothing to do or no impact to the relationship with anything.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:12:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110324#M109834</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-03T13:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110331#M109835</link>
      <description>&lt;P&gt;Hi! Ah you do it only with table 2. I would need also table 1 because i would like to know the names that don't appear. If i do an active relationship i can do it, because the dynamic table can show me all the names of table if i want. But in my example i have an inactive relationship &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; and i don't want to change it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:18:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110331#M109835</guid>
      <dc:creator>Juan_91</dc:creator>
      <dc:date>2023-03-03T13:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110368#M109838</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="523639" data-lia-user-login="Juan_91" class="lia-mention lia-mention-user"&gt;Juan_91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you need names column from table1, try like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;measure 1=
CALCULATE(
	COUNTROWS(Table2),
	USERELATIONSHIP(Table1[Names],Table2[Names])
) +0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the point is to add +0 in the end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:35:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110368#M109838</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-03-03T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Look for a value filtering by month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110501#M109845</link>
      <description>&lt;P&gt;Oh yes that works very well in that case! But i had one more problem &lt;span class="lia-unicode-emoji" title=":grimacing_face:"&gt;😬&lt;/span&gt;. Sory&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;! I think we are very close.&lt;/P&gt;&lt;P&gt;My table 1 have also dates (like below); and both table 1 and table 2 have an active relationship with a calendar table (that i want to use it for the filter). So, when i do your measure and then filter by date with the calendar table it takes me the dates of table 1 (i don't need that dates)&lt;BR /&gt;If i want i can take the dates of table 2 to filter and works very well! But i would like to take the date of the calendar date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I promise the next time i will be more clearer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Table 1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Names&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;Michael&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan&lt;/TD&gt;&lt;TD&gt;Jacob&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;Oliver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;Jake&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb&lt;/TD&gt;&lt;TD&gt;Tom&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 03 Mar 2023 14:30:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Look-for-a-value-filtering-by-month/m-p/3110501#M109845</guid>
      <dc:creator>Juan_91</dc:creator>
      <dc:date>2023-03-03T14:30:23Z</dc:date>
    </item>
  </channel>
</rss>

