<?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: issue with snow schema when using SAMEPERIODLASTYEAR? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/issue-with-snow-schema-when-using-SAMEPERIODLASTYEAR/m-p/2068825#M46788</link>
    <description>&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Sep 2021 11:40:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-10T11:40:44Z</dc:date>
    <item>
      <title>issue with snow schema when using SAMEPERIODLASTYEAR?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/issue-with-snow-schema-when-using-SAMEPERIODLASTYEAR/m-p/2062278#M46557</link>
      <description>&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;I have a schema with relationships:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Many&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Revenue[ClientKey] :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Client[ClientKey]&lt;/P&gt;&lt;P&gt;filter: &amp;lt;&amp;lt; To Revenue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Many&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ClientType[ClientNo] :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Client[ClientNo]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Many&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ClientType[Year] :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Many&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Date[Year]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure how I will use the last 2 relationships in the pbix; but I set the filter to &amp;lt;&amp;lt;"Both tables"&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having issues with basic measures:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Revenue := YTDCALCULATE([Revenue] ,DATESYTD('Date'[Date] ,"31/05" ))&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Revenue LYTD := CALCULATE( [Revenue YTD],SAMEPERIODLASTYEAR('Date'[Date] ) )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Revenue displays ok. But Revenue LYTD, displays&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;only the total&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in a table visualization. Could the relationship somehow make this?&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="mt24 mb12"&gt;&lt;DIV class="post-taglist d-flex gs4 gsy fd-column"&gt;&lt;DIV class="d-flex ps-relative"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Sep 2021 16:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/issue-with-snow-schema-when-using-SAMEPERIODLASTYEAR/m-p/2062278#M46557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-07T16:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: issue with snow schema when using SAMEPERIODLASTYEAR?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/issue-with-snow-schema-when-using-SAMEPERIODLASTYEAR/m-p/2068825#M46788</link>
      <description>&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726" target="_blank"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-Get-Your-Question-Answered-Quickly/td-p/1626726&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 11:40:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/issue-with-snow-schema-when-using-SAMEPERIODLASTYEAR/m-p/2068825#M46788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-10T11:40:44Z</dc:date>
    </item>
  </channel>
</rss>

