<?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 How to efface blank category row without affecting TOTAL in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2686609#M80720</link>
    <description>&lt;P&gt;I have created a calculated column with &lt;EM&gt;DATESINPERIOD&lt;/EM&gt; to always show the last 7 days of my report and connected it to my 'Dates' table.&lt;BR /&gt;When I apply the measure to the new table, I get a top row with a blank category but with a large number.&lt;BR /&gt;So I use &lt;EM&gt;HASONEVALUE&lt;/EM&gt; to eliminate the top row but I end up eliminating the &lt;STRONG&gt;Total&lt;/STRONG&gt; as well.&lt;/P&gt;&lt;P&gt;Is there another way to do it without affecting the &lt;STRONG&gt;Total&lt;/STRONG&gt;?&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;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 08:14:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-08-08T08:14:09Z</dc:date>
    <item>
      <title>How to efface blank category row without affecting TOTAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2686609#M80720</link>
      <description>&lt;P&gt;I have created a calculated column with &lt;EM&gt;DATESINPERIOD&lt;/EM&gt; to always show the last 7 days of my report and connected it to my 'Dates' table.&lt;BR /&gt;When I apply the measure to the new table, I get a top row with a blank category but with a large number.&lt;BR /&gt;So I use &lt;EM&gt;HASONEVALUE&lt;/EM&gt; to eliminate the top row but I end up eliminating the &lt;STRONG&gt;Total&lt;/STRONG&gt; as well.&lt;/P&gt;&lt;P&gt;Is there another way to do it without affecting the &lt;STRONG&gt;Total&lt;/STRONG&gt;?&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;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 08:14:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2686609#M80720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T08:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to efface blank category row without affecting TOTAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2686928#M80736</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Try isinscope, it can check if the date is in visual scope or not. for Grand Total Date will not be scope &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(not(isinscope(Date[Date])), [Measure], &amp;lt;Your code with has one value&amp;gt;) &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, a blank value in date means, your date table is missing dates. or your date in fact has a time stamp.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also try visual level filter&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 09:42:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2686928#M80736</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-08-08T09:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to efface blank category row without affecting TOTAL</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2687296#M80775</link>
      <description>&lt;P&gt;"&lt;EM&gt;Also, a blank value in date means, your date table is missing dates. or your date in fact has a time stamp."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So creating a calculated date table with the last 7 days seems to be bad practice.&lt;/P&gt;&lt;P&gt;So what's the best way to always show the last 7 days as I update the report?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 12:17:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-efface-blank-category-row-without-affecting-TOTAL/m-p/2687296#M80775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-08T12:17:35Z</dc:date>
    </item>
  </channel>
</rss>

