<?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: Mixing filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2749692#M84799</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; and thank you for quick answer.&lt;BR /&gt;&lt;BR /&gt;Logic:&lt;BR /&gt;I am trying to obtain some details of the electrical trips in different machines (to simplify it, I said machines).&lt;BR /&gt;The details I am looking for are, during the last week:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- how many trips there were (a simple count)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- how may we have accumulated (simple count + "removefilters" for weeks)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- and the last one that I am asking for is to prepare a plot with all the trips registered BUT only for the machines we had a trip during last week.&lt;BR /&gt;&lt;BR /&gt;It is for this reason I do not want to see the accumulate of all machines but, only for those that had a trip during last week.&lt;BR /&gt;&lt;BR /&gt;The solution of&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;works great! is almost perfect but has a small issue. I cannot use the dimensions. I have to use the fields which are in the fact table. I would prefer to use the filter of the week from the week dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again in advance!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 08:44:29 GMT</pubDate>
    <dc:creator>jmateu88</dc:creator>
    <dc:date>2022-09-06T08:44:29Z</dc:date>
    <item>
      <title>Mixing filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2743865#M84459</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;What I am looking for is filter a week and check which machines were repaired and how many times these were repaired in all the registers in the table.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I know how to do it setting filters in the visualizations but I am sure that mixing some DAX expressions is possible to do it in an easier and correct way. I was not able to get this combo &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I prepared an example to simplify it. In the example, we can see which would be the solution for each week filtered.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The solution should filter the machines in the week selected but, without filter if they appear in another week to be able to accumulate the times these were repaired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is for a bar chart.&lt;BR /&gt;&lt;SPAN&gt;Thank you very much in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:08:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2743865#M84459</guid>
      <dc:creator>jmateu88</dc:creator>
      <dc:date>2022-09-02T16:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2744112#M84475</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="425686" data-lia-user-login="jmateu88" class="lia-mention lia-mention-user"&gt;jmateu88&lt;/a&gt; , can you explain the logic, why machine 1 is 3 in week 1 &lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:53:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2744112#M84475</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-02T16:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2744128#M84478</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="425686" data-lia-user-login="jmateu88" class="lia-mention lia-mention-user"&gt;jmateu88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Count = COUNTROWS ( CALCULATETABLE ( Fact, ALLEXCEPT ( Fact, Fact[Machine] ) ) )&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 17:09:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2744128#M84478</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-02T17:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mixing filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2749692#M84799</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; and thank you for quick answer.&lt;BR /&gt;&lt;BR /&gt;Logic:&lt;BR /&gt;I am trying to obtain some details of the electrical trips in different machines (to simplify it, I said machines).&lt;BR /&gt;The details I am looking for are, during the last week:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- how many trips there were (a simple count)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- how may we have accumulated (simple count + "removefilters" for weeks)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;- and the last one that I am asking for is to prepare a plot with all the trips registered BUT only for the machines we had a trip during last week.&lt;BR /&gt;&lt;BR /&gt;It is for this reason I do not want to see the accumulate of all machines but, only for those that had a trip during last week.&lt;BR /&gt;&lt;BR /&gt;The solution of&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;works great! is almost perfect but has a small issue. I cannot use the dimensions. I have to use the fields which are in the fact table. I would prefer to use the filter of the week from the week dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 08:44:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Mixing-filters/m-p/2749692#M84799</guid>
      <dc:creator>jmateu88</dc:creator>
      <dc:date>2022-09-06T08:44:29Z</dc:date>
    </item>
  </channel>
</rss>

