<?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 Filtering a column that created from two columns? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2249806#M54097</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I have a column (XY FILE) that I made by adding two columns (X file + Y file).&lt;/P&gt;&lt;P&gt;I want to filter that column by X file or Y file, but when I do that it filters it wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;X file&lt;/U&gt;&amp;nbsp; | &lt;U&gt;Y file&lt;/U&gt; |&amp;nbsp;&lt;U&gt; XY file&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'm filtering by X files it will show me 3 but the correct answer is 2 cause I have only two X files.&lt;/P&gt;&lt;P&gt;which formula should I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 11:40:20 GMT</pubDate>
    <dc:creator>YehudaBI</dc:creator>
    <dc:date>2021-12-21T11:40:20Z</dc:date>
    <item>
      <title>Filtering a column that created from two columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2249806#M54097</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I have a column (XY FILE) that I made by adding two columns (X file + Y file).&lt;/P&gt;&lt;P&gt;I want to filter that column by X file or Y file, but when I do that it filters it wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;X file&lt;/U&gt;&amp;nbsp; | &lt;U&gt;Y file&lt;/U&gt; |&amp;nbsp;&lt;U&gt; XY file&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'm filtering by X files it will show me 3 but the correct answer is 2 cause I have only two X files.&lt;/P&gt;&lt;P&gt;which formula should I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 11:40:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2249806#M54097</guid>
      <dc:creator>YehudaBI</dc:creator>
      <dc:date>2021-12-21T11:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column that created from two columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2249868#M54101</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="347175" data-lia-user-login="YehudaBI" class="lia-mention lia-mention-user"&gt;YehudaBI&lt;/a&gt; , what do mean by filter by &lt;U&gt;X file&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Are you trying a measure like&lt;/P&gt;
&lt;P&gt;countrows(filter(Table, Table[X file] &amp;lt;&amp;gt; 0 ))&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 12:11:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2249868#M54101</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-12-21T12:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column that created from two columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2250817#M54190</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="347175" data-lia-user-login="YehudaBI" class="lia-mention lia-mention-user"&gt;YehudaBI&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are only 1 and 0 in X and Y file columns, try this measure:&lt;/P&gt;&lt;P&gt;Measure =&amp;nbsp;&lt;SPAN&gt;countrows(table)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 23:06:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2250817#M54190</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-12-21T23:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column that created from two columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2251453#M54211</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;VahidDM,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maybe I didn't explain myself right.&lt;/P&gt;&lt;P&gt;I Have another Column that I'm filtering X or Y with it.&lt;/P&gt;&lt;P&gt;I need a measure that:&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt;If nothing is Filtered:&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt; it sums the XY file column&lt;/P&gt;&lt;P&gt;-&lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt; if X file is filtered:&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt; it sums &lt;U&gt;jus&lt;/U&gt;t the X file column&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt;- if Y file is filtered:&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt; it sums just the Y file column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this time I explained myself well.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 08:00:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2251453#M54211</guid>
      <dc:creator>YehudaBI</dc:creator>
      <dc:date>2021-12-22T08:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a column that created from two columns?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2251454#M54212</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Amitchandak,&lt;/P&gt;&lt;P&gt;Maybe I didn't explain myself right.&lt;/P&gt;&lt;P&gt;I Have another Column that I'm filtering X or Y with it.&lt;/P&gt;&lt;P&gt;I need a measure that:&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt;If nothing is Filtered:&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt; it sums the XY file column&lt;/P&gt;&lt;P&gt;-&lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt; if X file is filtered:&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt; it sums &lt;U&gt;jus&lt;/U&gt;t the X file column&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;SPAN&gt;- if Y file is filtered:&lt;/SPAN&gt;&lt;/U&gt;&lt;/STRONG&gt; it sums just the Y file column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this time I explained myself well.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 08:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filtering-a-column-that-created-from-two-columns/m-p/2251454#M54212</guid>
      <dc:creator>YehudaBI</dc:creator>
      <dc:date>2021-12-22T08:01:33Z</dc:date>
    </item>
  </channel>
</rss>

