<?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: Create Filter to apply to matrix so it will only show compliant IDs in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2471156#M67288</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241839" data-lia-user-login="MBisceglia" class="lia-mention lia-mention-user"&gt;MBisceglia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you can create a new measure to filter the displayed IDs.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE(WorkDays[Total worked days])&amp;gt;44,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;Put the measure into the filter and set it equal to 1.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Of the 4 quarters selected, only this one id was eligible.&amp;nbsp;Please check the attachment, does it match your desired result? What other values would you like to achieve, preferably with pictures to show them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2022 09:50:47 GMT</pubDate>
    <dc:creator>v-zhangti</dc:creator>
    <dc:date>2022-04-22T09:50:47Z</dc:date>
    <item>
      <title>Create Filter to apply to matrix so it will only show compliant IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2460449#M66586</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working with employees' IDs. I'm trying to have a matrix that will only show those employees who worked more than 44 days every quarter that the Matrix is showing (based on the slicer selection). I already grouped all my data into quarters and added a column (Compliant Q) to identify those quarters for each ID that is compliant with this condition. This how the backend table in my model looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then used "Compliant Q" column to filter out the non-compliant quarters.&lt;/P&gt;&lt;P&gt;And this is how the Matrix looks like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I would like to create a measure that could do what the Matrix's "Row Subtotal" and the slicer combined are doing. I want to have a measure that sums total number of compliant quarters by ID based on my selection, to use it as a filter for this page in my report. I want my matrix to only show those IDs in which the 12 selected quarters are compliant with the 44 days condition. I also want this to be dynamic, so it will update based on the user's selection. In case the user selects 20 quarters I would like the matrix to only show those IDs in which the 20 selected quarters are compliant with the 44 days condition and so on... In the example I shared the matrix is also showing IDs that have less than 12 compliant months. I want to avoid that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas? I would really appreciate the help!&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;&lt;BR /&gt;Michelle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2022 22:41:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2460449#M66586</guid>
      <dc:creator>MBisceglia</dc:creator>
      <dc:date>2022-04-17T22:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create Filter to apply to matrix so it will only show compliant IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2460520#M66590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241839" data-lia-user-login="MBisceglia" class="lia-mention lia-mention-user"&gt;MBisceglia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please try&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Compliant Q 2 =
IF (
    SUM ( WorkDays[Total worked days] )
        = COUNTROWS ( ALLSELECTED ( WorkDays[Year-Quarter] ) ),
    1,
    BLANK ()
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Apr 2022 01:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2460520#M66590</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-04-18T01:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create Filter to apply to matrix so it will only show compliant IDs</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2471156#M67288</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="241839" data-lia-user-login="MBisceglia" class="lia-mention lia-mention-user"&gt;MBisceglia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you can create a new measure to filter the displayed IDs.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = IF(SELECTEDVALUE(WorkDays[Total worked days])&amp;gt;44,1,0)&lt;/LI-CODE&gt;
&lt;P&gt;Put the measure into the filter and set it equal to 1.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Of the 4 quarters selected, only this one id was eligible.&amp;nbsp;Please check the attachment, does it match your desired result? What other values would you like to achieve, preferably with pictures to show them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 09:50:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-Filter-to-apply-to-matrix-so-it-will-only-show-compliant/m-p/2471156#M67288</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2022-04-22T09:50:47Z</dc:date>
    </item>
  </channel>
</rss>

