<?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: ignore slicer filter within topN in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770175#M37021</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , see if removefilters can help&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;CALCULATE( STDEVX.S(TOPN(30,'Kit','Kit'[Date created],ASC),'kit'[Channel_1_Cq]),ALLSELECTED('kit'), removefilters('Kit'[MachineID]))&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 14:39:01 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-04-06T14:39:01Z</dc:date>
    <item>
      <title>ignore slicer filter within topN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770017#M37006</link>
      <description>&lt;P&gt;I tried to make a control chart in powerbi dashboard where the central line needs to be the average of the first top 30, sort on date created. The same goes for the STDEV. The channel_1_cq is going to be the line chart in these control chart. The goal is to be able to select instrument ID and lot filter slicer and see the values of the channel_1_cq changes&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, The average and STDEV needs to fixed and not be influeced by instrument ID. But it does needs to be influenced by lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table name: kit&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Sample ID&lt;/TD&gt;&lt;TD&gt;Lot&lt;/TD&gt;&lt;TD&gt;Instrument ID&lt;/TD&gt;&lt;TD&gt;Channel_1_cq&lt;/TD&gt;&lt;TD&gt;Date created&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P1&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;C0044&lt;/TD&gt;&lt;TD&gt;29.892&lt;/TD&gt;&lt;TD&gt;24/03/2021 17:56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;C0044&lt;/TD&gt;&lt;TD&gt;29.89&lt;/TD&gt;&lt;TD&gt;24/03/2021 19:40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;N3&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;C-0040&lt;/TD&gt;&lt;TD&gt;29.88&lt;/TD&gt;&lt;TD&gt;24/03/2021 21:32&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;calculated columns for control chart:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;AVERAGETOP30 = CALCULATE( AVERAGEX(TOPN(30,'Kit','Kit'[Date created],ASC),'kit'[Channel_1_Cq]),ALLSELECTED('kit'))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;STDEVXTOP30 = CALCULATE( STDEVX.S(TOPN(30,'Kit','Kit'[Date created],ASC),'kit'[Channel_1_Cq]),ALLSELECTED('kit'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;STDEVX.S&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If i select machine IDs both the central line and SD changes depending on the machine i select. How can i ignore the machine ID part only for the control chart?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 13:15:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770017#M37006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-06T13:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: ignore slicer filter within topN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770175#M37021</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , see if removefilters can help&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;CALCULATE( STDEVX.S(TOPN(30,'Kit','Kit'[Date created],ASC),'kit'[Channel_1_Cq]),ALLSELECTED('kit'), removefilters('Kit'[MachineID]))&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 14:39:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770175#M37021</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-06T14:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: ignore slicer filter within topN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770390#M37024</link>
      <description>&lt;P&gt;Hi&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;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already tried it, but it still shifts. It seems not to work in combination with all select. I also tried &lt;SPAN&gt;ALLEXCEPT('kit'[LOT]) which seems to be able to fixed. But my average number suddently shifts from 30.02 to 29.92. and it is fixed on 29.92 which is not the right number.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 15:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770390#M37024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-06T15:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: ignore slicer filter within topN</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770424#M37026</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have figure out why the number change. I forgot to mention that the top30 is only based sample ID starting with 'P'. I have a hard filter saying only shows sample ID starting with "P'. However all except still ignores this and calculate top 30 ignoring if it is an P sample or a N sample.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;My calc now instead of all select&amp;nbsp; is&amp;nbsp;ALLEXCEPT with kit [lot] and kit [sample id]&lt;BR /&gt;&lt;BR /&gt;ps: i can not post the calc, i get a html error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 16:10:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/ignore-slicer-filter-within-topN/m-p/1770424#M37026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-06T16:10:46Z</dc:date>
    </item>
  </channel>
</rss>

