<?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: Filter multiple Rows with same value (in column 1) when a value (in column 2) is given in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/3687839#M143262</link>
    <description>&lt;P&gt;Thanks a lot for you post. Very helpful. What should i do for other way around please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is if there is x in column 3 then solution expected to be 1 for with respective to column2 and order number please&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;Any idea please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 09:29:22 GMT</pubDate>
    <dc:creator>jimpatel</dc:creator>
    <dc:date>2024-02-08T09:29:22Z</dc:date>
    <item>
      <title>Filter multiple Rows with same value (in column 1) when a value (in column 2) is given</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2710307#M82297</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I need your support in writing a DAX formula.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Situation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a table that contains a column "Auftragsnummer" (order no.) and a column "Artikel" (article).&lt;/P&gt;&lt;P&gt;There can be several article lines per order no., therefore the order no. column contains the number several times:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the article "ZSOPA" appears in an order, then all lines with the same order no. must be filtered out.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If I solve this with normal filtering, it filters out only the one line with "ZSOPA", but all other lines with the same order no. remain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a good approach or a DAX formula to reach the goal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your awsome support!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 15:26:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2710307#M82297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-18T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple Rows with same value (in column 1) when a value (in column 2) is given</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2710414#M82300</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example we don't want any row with product A/ignore all the orders if it has A&lt;/P&gt;
&lt;DIV style="color: #000000; background-color: #fffffe; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 12px; line-height: 18px; white-space: pre;"&gt;
&lt;DIV&gt;&lt;SPAN&gt;Solution = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;max&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Ignore'&lt;/SPAN&gt;&lt;SPAN&gt;[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;),(&lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Ignore'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Ignore'&lt;/SPAN&gt;&lt;SPAN&gt;[Order No.]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;'Ignore'&lt;/SPAN&gt;&lt;SPAN&gt;[Column2]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"A"&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Now you can filter 1 to get the desired output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Ritesh&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Mark my post as a solution if it helped you&lt;/FONT&gt;|&lt;FONT color="#000000"&gt;&amp;nbsp;Munde and Kudis (Ladies and Gentlemen) I like your Kudos!!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&lt;A href="https://www.youtube.com/channel/UCOK8xNgwlypFkU6aCEThCmw" target="_self" rel="nofollow noreferrer noopener"&gt;My YT Channel Dancing With Data&lt;/A&gt;&amp;nbsp;!!&amp;nbsp;&lt;A href="https://www.linkedin.com/in/ritesh-bisht-22238913/" target="_self" rel="nofollow noreferrer noopener"&gt;Connect on Linkedin&lt;/A&gt;&amp;nbsp;!!&lt;A href="https://www.youtube.com/watch?v=XE-HehSTmGo&amp;amp;list=PL9z26CJ-fucFCNaSAKlBujSFY22tZhcDr" target="_self" rel="nofollow noopener noreferrer"&gt;Power BI for Tableau Users&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:28:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2710414#M82300</guid>
      <dc:creator>ribisht17</dc:creator>
      <dc:date>2022-08-18T16:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple Rows with same value (in column 1) when a value (in column 2) is given</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2710421#M82302</link>
      <description>&lt;P&gt;You could create a table like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Orders with ZSOPA = CALCULATETABLE( VALUES( 'Table'[Auftragsnummer]), 'Table'[Artikel] = "ZSOPA")&lt;/LI-CODE&gt;
&lt;P&gt;and link that in a one-to-many relationship to the main table. On visuals you could add a filter so that the 'Orders with ZSOPA'[Auftragsnummer] is blank, and if you wanted to filter inside measures you could use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;My measure = CALCULATE( some calculation,
TREATAS( { BLANK()}, 'Orders with SZOPA'[Auftragsnummer] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Aug 2022 16:19:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2710421#M82302</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-08-18T16:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple Rows with same value (in column 1) when a value (in column 2) is given</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2711492#M82392</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="369860" data-lia-user-login="ribisht17" class="lia-mention lia-mention-user"&gt;ribisht17&lt;/a&gt;&amp;nbsp;, this is exactly what I was looking for!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 04:18:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/2711492#M82392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-19T04:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter multiple Rows with same value (in column 1) when a value (in column 2) is given</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/3687839#M143262</link>
      <description>&lt;P&gt;Thanks a lot for you post. Very helpful. What should i do for other way around please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is if there is x in column 3 then solution expected to be 1 for with respective to column2 and order number please&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;Any idea please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 09:29:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-multiple-Rows-with-same-value-in-column-1-when-a-value-in/m-p/3687839#M143262</guid>
      <dc:creator>jimpatel</dc:creator>
      <dc:date>2024-02-08T09:29:22Z</dc:date>
    </item>
  </channel>
</rss>

