<?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: How to replicate the LOOKUP Excel formula in DAX (Excel 2016) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969790#M43231</link>
    <description>&lt;P&gt;This is the formula I was looking for:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=
CALCULATE
	(
	VALUES
		(
		XREF_ReportingPeriods[Reporting Period End]
		),
		FILTER
			(
			XREF_ReportingPeriods,
			[Date] &amp;gt;= XREF_ReportingPeriods[Reporting Period Start]
			&amp;amp;&amp;amp; 
			[Date]  &amp;lt;= XREF_ReportingPeriods[Reporting Period End]
			)
	)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 21 Jul 2021 06:19:47 GMT</pubDate>
    <dc:creator>JollyRoger01</dc:creator>
    <dc:date>2021-07-21T06:19:47Z</dc:date>
    <item>
      <title>How to replicate the LOOKUP Excel formula in DAX (Excel 2016)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969565#M43226</link>
      <description>&lt;P&gt;I am trying to replicate the LOOKUP formula in Excel that will return the Reporting Period End date for a date that falls between the Reporting Period Start Date and Reporting Period End Date. This is a fairly simple calc, but I have no idea how to do this in DAX. LOOKUPVALUE is not what I am looking for as it doesn't do greater than or equal two, that I know of. Workbook is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jmservicescomau-my.sharepoint.com/:x:/g/personal/jacob_jmservices_com_au/EWTGnGUt75dJtRFS_xK24usBP_KDM9tcxT-y10qkORAHow?e=7ZFFqC" target="_self"&gt;Book1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 04:46:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969565#M43226</guid>
      <dc:creator>JollyRoger01</dc:creator>
      <dc:date>2021-07-21T04:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate the LOOKUP Excel formula in DAX (Excel 2016)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969601#M43227</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 05:09:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969601#M43227</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2021-07-21T05:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate the LOOKUP Excel formula in DAX (Excel 2016)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969611#M43228</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;end date in the period : =&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;IF (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;HASONEVALUE ( Dates[Date] ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAXX (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Periods,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAX ( Dates[Date] ) &amp;gt;= Periods[Reporting Period Start]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;amp;&amp;amp; MIN ( Dates[Date] ) &amp;lt;= Periods[Reporting Period End]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Periods[Reporting Period End]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/dpkhyo1dajjyqg7/jollyroger.pbix?dl=0" target="_self"&gt;Link to the PBIX file&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 05:14:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969611#M43228</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-07-21T05:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate the LOOKUP Excel formula in DAX (Excel 2016)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969734#M43229</link>
      <description>&lt;P&gt;I have tried this, after changing all the table names to match mine, but I cannot get it to work (all the values are blank). I am adding it to a calculated column to Table_Historical.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 05:53:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969734#M43229</guid>
      <dc:creator>JollyRoger01</dc:creator>
      <dc:date>2021-07-21T05:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate the LOOKUP Excel formula in DAX (Excel 2016)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969740#M43230</link>
      <description>&lt;P&gt;I am looking to add this as a calculated column called Reporting Period End Dtate in Table_Historical. Do you know how I can do this, using the same names I have used?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 05:54:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969740#M43230</guid>
      <dc:creator>JollyRoger01</dc:creator>
      <dc:date>2021-07-21T05:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate the LOOKUP Excel formula in DAX (Excel 2016)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969790#M43231</link>
      <description>&lt;P&gt;This is the formula I was looking for:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=
CALCULATE
	(
	VALUES
		(
		XREF_ReportingPeriods[Reporting Period End]
		),
		FILTER
			(
			XREF_ReportingPeriods,
			[Date] &amp;gt;= XREF_ReportingPeriods[Reporting Period Start]
			&amp;amp;&amp;amp; 
			[Date]  &amp;lt;= XREF_ReportingPeriods[Reporting Period End]
			)
	)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 Jul 2021 06:19:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-replicate-the-LOOKUP-Excel-formula-in-DAX-Excel-2016/m-p/1969790#M43231</guid>
      <dc:creator>JollyRoger01</dc:creator>
      <dc:date>2021-07-21T06:19:47Z</dc:date>
    </item>
  </channel>
</rss>

