<?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: How to filter out blanks or NA in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441525#M65387</link>
    <description>&lt;P&gt;Can you show what the data cloumns looks like in your Sheet1?&lt;/P&gt;&lt;P&gt;for example, if it is all in one table, you can paste it:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 19:14:18 GMT</pubDate>
    <dc:creator>Whitewater100</dc:creator>
    <dc:date>2022-04-06T19:14:18Z</dc:date>
    <item>
      <title>How to filter out blanks or NA</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441335#M65374</link>
      <description>&lt;P&gt;I have a DAX written :&amp;nbsp;&lt;BR /&gt;EOC_Sent = CALCULATE(COUNT('Sheet1'[SENTMONTH]), 'Sheet1'[SurveyTaken]=2)&lt;BR /&gt;but not getting the right value which is suppose to be 217 when i manually filter to check the dataset in Excel. But my R code is giving me the right value :&amp;nbsp;Filter(!is.na(SentMonth), Surveytaken==2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping someone could help on how i can rewrite the DAX to exclude blanks or NA.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 17:42:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441335#M65374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-06T17:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out blanks or NA</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441466#M65381</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;What does your data look like? Do you want a measure or calculated column? Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 18:40:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441466#M65381</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-04-06T18:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out blanks or NA</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441467#M65382</link>
      <description>&lt;P&gt;Calculate columns&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 18:43:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441467#M65382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-06T18:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out blanks or NA</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441525#M65387</link>
      <description>&lt;P&gt;Can you show what the data cloumns looks like in your Sheet1?&lt;/P&gt;&lt;P&gt;for example, if it is all in one table, you can paste it:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 19:14:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2441525#M65387</guid>
      <dc:creator>Whitewater100</dc:creator>
      <dc:date>2022-04-06T19:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out blanks or NA</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2448116#M65789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure what the data is in your table "sheet1",&amp;nbsp;I created a simple for testing.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;then new a calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EOC_Sent =
CALCULATE (
    COUNT ( 'Sheet1'[SentMonth] ),
    'Sheet1'[SurveyTaken] &amp;lt;&amp;gt; BLANK ()
        &amp;amp;&amp;amp; 'Sheet1'[SurveyTaken] = 2
)&lt;/LI-CODE&gt;
&lt;P&gt;return result.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Attach the PBIX file for reference. Hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If this doesn't work for you or I misunderstand your needs, please consider sharing more details about it. And it would be great if there was a sample file without any sensitive information here.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;It makes it easier to give you a solution.&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Sample (dummy dataset) data as text, use the table tool in the editing bar.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Expected output from sample data.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="2"&gt;Explanation in words of how to get from 1. to 2.&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT size="2"&gt;Best Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Community Support Team_Gao&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2"&gt;If there is any post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT size="3"&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Thanks a lot!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to get your questions answered quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;--&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to provide sample data&lt;/SPAN&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 02:39:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2448116#M65789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T02:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out blanks or NA</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2449658#M65878</link>
      <description>&lt;P&gt;Thank you so much for your response. The DAX worked giving the correct value.&lt;/P&gt;&lt;P&gt;On trying to get the RR when the slicer for a particular month is selected, i get the more than a 100% which does not seem right.&lt;/P&gt;&lt;P&gt;Here is my DAX for the RR %:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;EOC_RR = CALCULATE(COUNT('Sheet1'[SurveyTaken]), 'Sheet1'[SurveyTaken]=2, 'Sheet1'[main_module_complete]=2) / CALCULATE(COUNT('Sheet1'[SentMonth]),'Sheet1'[SurveyTaken] &amp;lt;&amp;gt; Blank() &amp;amp;&amp;amp; 'Sheet1'[SurveyTaken]=2)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 12:52:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-out-blanks-or-NA/m-p/2449658#M65878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T12:52:25Z</dc:date>
    </item>
  </channel>
</rss>

