<?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 Problem many to many building dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2361232#M60358</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate with you guys can help me with this DAX, I need to build a date (Ex : 20220213), using 2 tables. At column dax_YearMonthNo I need this date. Using this DAX Formula i could get YYYYMM (Image1) when i try to make a lookup to bring the earliest date from Calendar it fails, (already tried using Earlier)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image 1&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image 2&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calendar&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 13:28:45 GMT</pubDate>
    <dc:creator>k1ko92</dc:creator>
    <dc:date>2022-02-25T13:28:45Z</dc:date>
    <item>
      <title>Problem many to many building dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2361232#M60358</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate with you guys can help me with this DAX, I need to build a date (Ex : 20220213), using 2 tables. At column dax_YearMonthNo I need this date. Using this DAX Formula i could get YYYYMM (Image1) when i try to make a lookup to bring the earliest date from Calendar it fails, (already tried using Earlier)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image 1&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Image 2&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calendar&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 13:28:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2361232#M60358</guid>
      <dc:creator>k1ko92</dc:creator>
      <dc:date>2022-02-25T13:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem many to many building dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2361302#M60361</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="362067" data-lia-user-login="k1ko92" class="lia-mention lia-mention-user"&gt;k1ko92&lt;/a&gt; , for period you can get date like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date = date(left([period],4), right([period],2),1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or from calendar table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Minx(filter(calendar, calendar[Period] = table[Period]) , calendar[Date])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this does not help&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 13:59:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2361302#M60361</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-25T13:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem many to many building dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2366932#M60614</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="362067" data-lia-user-login="k1ko92" class="lia-mention lia-mention-user"&gt;k1ko92&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have multiple 'lookupvalue' functions nested in your calculated columns, which is not good for troubleshooting.&lt;/P&gt;
&lt;P&gt;You need to create separate calculated columns to test whether each 'lookupvalue'&amp;nbsp; is working correctly.&lt;/P&gt;
&lt;P&gt;For further research, please provide sanitized sample data that fully covers your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Eason&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 09:38:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-many-to-many-building-dates/m-p/2366932#M60614</guid>
      <dc:creator>v-easonf-msft</dc:creator>
      <dc:date>2022-03-01T09:38:53Z</dc:date>
    </item>
  </channel>
</rss>

