<?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: Dynamically Comparing Two Years in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Comparing-Two-Years/m-p/744758#M2452</link>
    <description>&lt;P&gt;Hi. It is not something I would recommend to have a measure from slicer, but you can solve this with SELECTEDVALUE.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is some doc:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/selectedvalue-function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dax.guide/selectedvalue/" target="_blank"&gt;https://dax.guide/selectedvalue/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 18:43:37 GMT</pubDate>
    <dc:creator>ibarrau</dc:creator>
    <dc:date>2019-07-19T18:43:37Z</dc:date>
    <item>
      <title>Dynamically Comparing Two Years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Comparing-Two-Years/m-p/744415#M2440</link>
      <description>&lt;P&gt;So I want to dynamically choose two years I want to compare for a measure, in my case - profit.&lt;BR /&gt;I made a DAX measure to calculate profit for A year, for example:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Profit LY = CALCULATE([Profit]; Year[Year] = 2018 )&lt;/PRE&gt;&lt;P&gt;but I want to calculate the profit for a year I pick via a slicer. Is that achievable?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 10:49:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Comparing-Two-Years/m-p/744415#M2440</guid>
      <dc:creator>Periksson</dc:creator>
      <dc:date>2019-07-19T10:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Comparing Two Years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Comparing-Two-Years/m-p/744758#M2452</link>
      <description>&lt;P&gt;Hi. It is not something I would recommend to have a measure from slicer, but you can solve this with SELECTEDVALUE.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is some doc:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/selectedvalue-function" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/selectedvalue-function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dax.guide/selectedvalue/" target="_blank"&gt;https://dax.guide/selectedvalue/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 18:43:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Comparing-Two-Years/m-p/744758#M2452</guid>
      <dc:creator>ibarrau</dc:creator>
      <dc:date>2019-07-19T18:43:37Z</dc:date>
    </item>
  </channel>
</rss>

