<?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: Avoid measure from ignoring slicer using ALL() in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546226#M30539</link>
    <description>&lt;P&gt;Thanks so much! It now works as attended.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 20:31:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-11T20:31:00Z</dc:date>
    <item>
      <title>Avoid measure from ignoring slicer using ALL()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546129#M30531</link>
      <description>&lt;P&gt;Hi. I am trying to display both the current and previous year's sales with a year slicer like so:&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;I am able to dynamically change the year perperly. Though, I want to be able to select the stores status was well ( 'Stores'[Status] ) and my measure for the previous year wont allow this since I am using an ALL() in the filter epxression. Below are both my measures:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TEST, YTD = SUM ( Sales[Sales] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TEST, YTD LY = CALCULATE( [TEST, YTD], DATEADD(Sales[Date], -1, YEAR), ALL(Sales) )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have two tables: 'Sales', with a [Sales] and [Dates] column, and 'Stores', with the [Status] column. There is a one to many connection from 'Stores' to 'Sales'.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is there a work around? Is it possible to even have the measures working with the status slicer? Thanks in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Dec 2020 19:18:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546129#M30531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-11T19:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid measure from ignoring slicer using ALL()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546212#M30537</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, you might want to specify column(s) in ALL() function to remove filter(s) on the assigned columns. I think this might do the trick.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;TEST, YTD LY =
CALCULATE (
    [TEST, YTD],
    DATEADD ( Sales[Date], -1, YEAR ),
    ALL ( Sales[Date] )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Dec 2020 20:03:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546212#M30537</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-12-11T20:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid measure from ignoring slicer using ALL()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546226#M30539</link>
      <description>&lt;P&gt;Thanks so much! It now works as attended.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 20:31:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Avoid-measure-from-ignoring-slicer-using-ALL/m-p/1546226#M30539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-11T20:31:00Z</dc:date>
    </item>
  </channel>
</rss>

