<?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: Finding the % difference in sales for a product compare to average of the last two years in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2675708#M79943</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="294646" data-lia-user-login="ScottTynan" class="lia-mention lia-mention-user"&gt;ScottTynan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, I have googled for it. Yes, it looks like you can override page level filters in a DAX measure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Looks like my skills are getting a bit rusty &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 13:34:41 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-08-02T13:34:41Z</dc:date>
    <item>
      <title>Finding the % difference in sales for a product compare to average of the last two years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2674678#M79867</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset of invoice information FY21, FY22 and building up FY23 as we progress through. I need to assess line by line for the F23 data to find the average of the sales for the last two years compared this current period.&amp;nbsp;&lt;BR /&gt;I have a date table linked to this revenue table.&amp;nbsp;&lt;BR /&gt;Below image is a snip of what I currently have with what I am hoping to be able to produce added to the RHS.&amp;nbsp;&lt;BR /&gt;It needs to ignore any filters on the visuals, page and report.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 07:12:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2674678#M79867</guid>
      <dc:creator>ScottTynan</dc:creator>
      <dc:date>2022-08-02T07:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the % difference in sales for a product compare to average of the last two years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2674932#M79878</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="294646" data-lia-user-login="ScottTynan" class="lia-mention lia-mention-user"&gt;ScottTynan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I remember, one cannot ignore filters on the page or/and report level. Not via DAX at least. When you design your reports, you should always be aware of this limitation (or a feature - depending on how you look at this).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 08:34:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2674932#M79878</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-08-02T08:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the % difference in sales for a product compare to average of the last two years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2675256#M79899</link>
      <description>&lt;P&gt;This ignores all filters.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;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t;&lt;SPAN&gt;"NA"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;_result&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Aug 2022 10:02:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2675256#M79899</guid>
      <dc:creator>ScottTynan</dc:creator>
      <dc:date>2022-08-02T10:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the % difference in sales for a product compare to average of the last two years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2675708#M79943</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="294646" data-lia-user-login="ScottTynan" class="lia-mention lia-mention-user"&gt;ScottTynan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, I have googled for it. Yes, it looks like you can override page level filters in a DAX measure &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Looks like my skills are getting a bit rusty &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:34:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-difference-in-sales-for-a-product-compare-to-average/m-p/2675708#M79943</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-08-02T13:34:41Z</dc:date>
    </item>
  </channel>
</rss>

