<?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 Filter out Rows where a table column result is blank in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1077394#M15130</link>
    <description>&lt;P&gt;I am in Excel using Powerpivot, and I am trying to create a measure that shows a distinct count; however, discards/filters rows where a table[column] returns a blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(ISBLANK([Company A Measure]) &amp;amp;&amp;amp; ISBLANK(Company B Measure]),BLANK(),DISTINCTCOUNT('Data Files'[Field]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Company A Measure, Company B Measure, and the above are added to the Pivot.&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 do not want to see the rows where the Type is blank.&amp;nbsp; I can't figure this out.&amp;nbsp; I appreciate any help.&lt;/P&gt;&lt;P&gt;I do not want the rows where Spice Type shows blanks&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 22:21:51 GMT</pubDate>
    <dc:creator>RodgerB</dc:creator>
    <dc:date>2020-05-06T22:21:51Z</dc:date>
    <item>
      <title>Filter out Rows where a table column result is blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1077394#M15130</link>
      <description>&lt;P&gt;I am in Excel using Powerpivot, and I am trying to create a measure that shows a distinct count; however, discards/filters rows where a table[column] returns a blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(ISBLANK([Company A Measure]) &amp;amp;&amp;amp; ISBLANK(Company B Measure]),BLANK(),DISTINCTCOUNT('Data Files'[Field]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Company A Measure, Company B Measure, and the above are added to the Pivot.&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 do not want to see the rows where the Type is blank.&amp;nbsp; I can't figure this out.&amp;nbsp; I appreciate any help.&lt;/P&gt;&lt;P&gt;I do not want the rows where Spice Type shows blanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 22:21:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1077394#M15130</guid>
      <dc:creator>RodgerB</dc:creator>
      <dc:date>2020-05-06T22:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Rows where a table column result is blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1077523#M15137</link>
      <description>&lt;P&gt;Can you explain further?&amp;nbsp; Your measure is true (and returns blank) only if both CompanyA and CompanyB measures are blank, which based on your visual, they aren't (so the DC is returned).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And is Type a measure or column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 00:08:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1077523#M15137</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-05-07T00:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Rows where a table column result is blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1078302#M15174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39327" data-lia-user-login="RodgerB" class="lia-mention lia-mention-user"&gt;RodgerB&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure your detailed requirement, did you want to show type cells which have values in it? If so, you could try to click on type to filter data which is not blank to see whether it work or not.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Zoe Zhi&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 06:47:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1078302#M15174</guid>
      <dc:creator>dax</dc:creator>
      <dc:date>2020-05-07T06:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Rows where a table column result is blank</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1079284#M15191</link>
      <description>&lt;P&gt;Good morning, Zoe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion.&amp;nbsp; I did figure this out at about 8 last night.&amp;nbsp; I created a count measure, checking the two Company measures, that results in either a 1 or a 0.&amp;nbsp; I then filtered from the Type Label field so filter the Count Value field to show just the 1's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked.&amp;nbsp; I'll mark this as a solution.&amp;nbsp; Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 13:22:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Filter-out-Rows-where-a-table-column-result-is-blank/m-p/1079284#M15191</guid>
      <dc:creator>RodgerB</dc:creator>
      <dc:date>2020-05-07T13:22:04Z</dc:date>
    </item>
  </channel>
</rss>

