<?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: total sales in different years in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015384#M44827</link>
    <description>&lt;P&gt;Samarth, thank you so much. It worked finally. There's a column in the Dimdate table called &lt;STRONG&gt;fiscalyear&lt;/STRONG&gt; that I missed. I knew you can solve it&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;. &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 13:14:27 GMT</pubDate>
    <dc:creator>Anik</dc:creator>
    <dc:date>2021-08-13T13:14:27Z</dc:date>
    <item>
      <title>total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2013603#M44765</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;In the &lt;U&gt;&lt;STRONG&gt;DateKey&lt;/STRONG&gt;&lt;/U&gt; sales table, this is the only column related to date and year. I converted it to year. The years range from 2006-2008. I want to calculate sales by years.&amp;nbsp;&amp;nbsp;For example, total sales in 2006, 07, and 08 in Asia, Europe and NA. I tried to write DAX measures but my formula is not working. Could you please help me?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 16:26:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2013603#M44765</guid>
      <dc:creator>Anik</dc:creator>
      <dc:date>2021-08-12T16:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2013906#M44784</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;1) Do you have a Date table?&lt;/P&gt;&lt;P&gt;2) Give us the Dax measure you tried&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 21:42:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2013906#M44784</guid>
      <dc:creator>Kucrapok</dc:creator>
      <dc:date>2021-08-12T21:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2014382#M44801</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1. Yes, I have a Date table. This is the picture of the table&amp;nbsp;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sales_07 = SUM(FILTER(FactOnlineSales, RELATED(DimDate[Datekey]) = 2007),FactOnlineSales[SalesAmount]) -- this measure is for specific year, 2007. but I want to filter all the years togather. Nothing is working.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Aug 2021 04:57:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2014382#M44801</guid>
      <dc:creator>Anik</dc:creator>
      <dc:date>2021-08-13T04:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2014641#M44807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="316745" data-lia-user-login="Anik" class="lia-mention lia-mention-user"&gt;Anik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try to add sales data from your "&lt;SPAN&gt;&lt;STRONG&gt;FactOnlineSales&lt;/STRONG&gt;" table and Dates from Date table in your table visual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now use Date from date table as slicer. It will help you to get desired output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Samarth&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 06:58:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2014641#M44807</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2021-08-13T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2014892#M44811</link>
      <description>&lt;P&gt;Hi Samarth, I tried everything what I know. But nothing is working. could you please have a try? I have shared my file.&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1ooJUMY1ZIUyUdSMDKBhnScrSBRTh5Hyg/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1ooJUMY1ZIUyUdSMDKBhnScrSBRTh5Hyg/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 08:26:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2014892#M44811</guid>
      <dc:creator>Anik</dc:creator>
      <dc:date>2021-08-13T08:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015020#M44813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="316745" data-lia-user-login="Anik" class="lia-mention lia-mention-user"&gt;Anik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this output do you need?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 09:12:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015020#M44813</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2021-08-13T09:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015274#M44820</link>
      <description>&lt;P&gt;Hey, you've made a range slide. It's a good try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;. I want a slicer/table contains 2006, 2007, and 08. I want to click any specific year and it will show total sales of that year. I dont know why it is so complex to me&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sleepy_face:"&gt;😪&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 11:32:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015274#M44820</guid>
      <dc:creator>Anik</dc:creator>
      <dc:date>2021-08-13T11:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015297#M44822</link>
      <description>&lt;P&gt;In that case you can convert it to list from the drop down in the top right corner of slicer as shown below :-&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 11:54:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015297#M44822</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2021-08-13T11:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015317#M44823</link>
      <description>&lt;P&gt;It seems weirs to me to have year as the datekey in the date table. Is their a relathionship between your sales table and th date table?&lt;/P&gt;&lt;P&gt;If yes on what column?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 12:19:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015317#M44823</guid>
      <dc:creator>Kucrapok</dc:creator>
      <dc:date>2021-08-13T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: total sales in different years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015384#M44827</link>
      <description>&lt;P&gt;Samarth, thank you so much. It worked finally. There's a column in the Dimdate table called &lt;STRONG&gt;fiscalyear&lt;/STRONG&gt; that I missed. I knew you can solve it&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;. &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 13:14:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/total-sales-in-different-years/m-p/2015384#M44827</guid>
      <dc:creator>Anik</dc:creator>
      <dc:date>2021-08-13T13:14:27Z</dc:date>
    </item>
  </channel>
</rss>

