<?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: Delete empty rows using Power BI DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934502#M9679</link>
    <description>&lt;P&gt;Interesting approach above. I attempted the above solution and resulted in an error.&lt;/P&gt;&lt;P&gt;However, I was able to replicate a solution using measures to calculate the MAX Date for each date column.&lt;/P&gt;&lt;P&gt;&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;MAX Date1 = MAX ( table[date1] )&lt;/P&gt;&lt;P&gt;MAX Date2 = MAX ( table[date2] )&lt;/P&gt;&lt;P&gt;MAX Date3 = MAX ( table[date3] )&lt;/P&gt;&lt;P&gt;MAX Date4 = MAX ( table[date4] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Visual is Table w/&lt;/P&gt;&lt;P&gt;Project, and the newly created measures.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Feb 2020 15:32:14 GMT</pubDate>
    <dc:creator>AlexAlberga727</dc:creator>
    <dc:date>2020-02-16T15:32:14Z</dc:date>
    <item>
      <title>Delete empty rows using Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934405#M9676</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Power BI Community Members,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Below represents a dummy Power BI table with one ID Column, Four date columns and one project name column which makes a couple of duplicates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here one project name had the date information which I need and one did not have any date data that means I want to delete the duplicate rows where there is no data under the '&lt;STRONG&gt;dates&lt;/STRONG&gt;' columns.&lt;/P&gt;&lt;P&gt;I want to delete these empty rows (i.e. &lt;STRONG&gt;Project 1 with ID 111, Project 3 and Project 4&lt;/STRONG&gt;) by using the Power BI DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone suggest to me what I have to do in this case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in Advance!!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 09:52:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934405#M9676</guid>
      <dc:creator>PreetiSahu321</dc:creator>
      <dc:date>2020-02-16T09:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Delete empty rows using Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934491#M9678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="180203" data-lia-user-login="PreetiSahu321" class="lia-mention lia-mention-user"&gt;PreetiSahu321&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there are 2 options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first (and prefferably from my point of view), you can just set as inactive "Show items with no data" in visual field Project name settings&lt;/P&gt;
&lt;P&gt;second, you can create a calculated table like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Filtered Table = FILTER(
ALL('Table'),
NOT(ISBLANK('Table'[Date1])) || NOT(ISBLANK('Table'[Date2])) || NOT(ISBLANK('Table'[Date3])) || NOT(ISBLANK('Table'[Date4]))
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://linkedin.com/in/alekseizhukov" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 14:58:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934491#M9678</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-16T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Delete empty rows using Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934502#M9679</link>
      <description>&lt;P&gt;Interesting approach above. I attempted the above solution and resulted in an error.&lt;/P&gt;&lt;P&gt;However, I was able to replicate a solution using measures to calculate the MAX Date for each date column.&lt;/P&gt;&lt;P&gt;&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;MAX Date1 = MAX ( table[date1] )&lt;/P&gt;&lt;P&gt;MAX Date2 = MAX ( table[date2] )&lt;/P&gt;&lt;P&gt;MAX Date3 = MAX ( table[date3] )&lt;/P&gt;&lt;P&gt;MAX Date4 = MAX ( table[date4] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Visual is Table w/&lt;/P&gt;&lt;P&gt;Project, and the newly created measures.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 15:32:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934502#M9679</guid>
      <dc:creator>AlexAlberga727</dc:creator>
      <dc:date>2020-02-16T15:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete empty rows using Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934510#M9680</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="180203" data-lia-user-login="PreetiSahu321" class="lia-mention lia-mention-user"&gt;PreetiSahu321&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;also, you can try a calculated column&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;isThereAnyDate = if(ISBLANK('Table'[Date1]) &amp;amp;&amp;amp; ISBLANK('Table'[Date2]) &amp;amp;&amp;amp; ISBLANK('Table'[Date3]) &amp;amp;&amp;amp; ISBLANK('Table'[Date4]),false(),true())&lt;/LI-CODE&gt;
&lt;P&gt;then filter your data by isThereAnyDate = true condition&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://linkedin.com/in/alekseizhukov" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 15:53:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934510#M9680</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-16T15:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Delete empty rows using Power BI DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934511#M9681</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190980" data-lia-user-login="AlexAlberga727" class="lia-mention lia-mention-user"&gt;AlexAlberga727&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i see the only possible error in the statement above - using comma "," as delimiter but not semicolon ":". It is the locale question and it is not error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 15:54:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Delete-empty-rows-using-Power-BI-DAX/m-p/934511#M9681</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-02-16T15:54:32Z</dc:date>
    </item>
  </channel>
</rss>

