<?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: Column reference to 'Date' in table '...' cannot be used with a variation 'Date' in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/999036#M12629</link>
    <description>Once you have a Calendar table in your model, you CANNOT use any other date field that's connected to this table. All columns in your fact tables MUST be hidden. Please watch this to learn about good modeling habits:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=_quTwyvDfG0" target="_blank"&gt;https://www.youtube.com/watch?v=_quTwyvDfG0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=78d6mwR8GtA&amp;amp;t=1247s" target="_blank"&gt;https://www.youtube.com/watch?v=78d6mwR8GtA&amp;amp;t=1247s&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's material on time-intel:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/" target="_blank"&gt;https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
    <pubDate>Mon, 30 Mar 2020 18:02:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-30T18:02:42Z</dc:date>
    <item>
      <title>Column reference to 'Date' in table '...' cannot be used with a variation 'Date'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/996740#M12541</link>
      <description>Hello, I am running into an error that occurs when I try to couple two different actions in Power BI. Action 1 - I am creating a new column that finds the corresponding value for the same day the previous month base on the Date column (confirmed Date Type format) and this value is called 'Lease Payment (Cash Basis)'. This is the DAX formula we are using: =CALCULATE( MIN('Table'[Value]), ALLEXCEPT('Table'[Value2]), PREVIOUSMONTH('Table'[Date].[Date]) ) Action 2 - I am using the approach found if you Google “Currency conversion for Power BI and SSAS” by Kasper On BI. I tried to input the URL via the LINK tool and directly as text, but it appears to be causing an issue. Both of these approach work for me separately. But when I create the required relationships for Action 2 as shown below, I get the error message for the DAX formula in Action 1, also shown below:</description>
      <pubDate>Sat, 28 Mar 2020 22:38:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/996740#M12541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-28T22:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Column reference to 'Date' in table '...' cannot be used with a variation 'Date'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/996743#M12542</link>
      <description>&lt;P&gt;I am sorry the formatting above is horrible, I am having a nightmare with this website today.&amp;nbsp; This was my 4th attempt at posting this question.&amp;nbsp; Not sure what I'm doing wrong.&amp;nbsp; Trying to upload the screen shots again as those failed to post with the rest of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 22:40:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/996743#M12542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-28T22:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Column reference to 'Date' in table '...' cannot be used with a variation 'Date'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/996750#M12544</link>
      <description>Using the automatically created date hierarchy is a SURE way to screw things up in no time. Please create a proper Calendar.&lt;BR /&gt;&lt;BR /&gt;Also, if you have a big fact table, using CALCULATE in a calculated column will slow things down so much that sometimes it'll not come to a stop.&lt;BR /&gt;&lt;BR /&gt;PREVIOUSMONTH works correctly only on a proper Data table. Never on a column in a fact table.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Sat, 28 Mar 2020 23:07:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/996750#M12544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-28T23:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Column reference to 'Date' in table '...' cannot be used with a variation 'Date'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/998950#M12624</link>
      <description>&lt;P&gt;Thanks for bringing the importance of the CALENDAR table to my attention.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have gone ahead and created this table in my model.&amp;nbsp; Then in the relationship (attached in original message) I put this table between the Lessor/Lessee Data table and the Exchange Data table connected by the date fields.&amp;nbsp; The same error persists, however.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this error message one that you would expect to find if the CALCULATE function is causing the custom column to time out/stop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:14:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/998950#M12624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-30T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Column reference to 'Date' in table '...' cannot be used with a variation 'Date'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/999007#M12626</link>
      <description>ExchangeDate is completely unnecessary. One of the reasons is the 1-1 connection between this table and Calendar.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Mon, 30 Mar 2020 17:42:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/999007#M12626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-30T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Column reference to 'Date' in table '...' cannot be used with a variation 'Date'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/999036#M12629</link>
      <description>Once you have a Calendar table in your model, you CANNOT use any other date field that's connected to this table. All columns in your fact tables MUST be hidden. Please watch this to learn about good modeling habits:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=_quTwyvDfG0" target="_blank"&gt;https://www.youtube.com/watch?v=_quTwyvDfG0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=78d6mwR8GtA&amp;amp;t=1247s" target="_blank"&gt;https://www.youtube.com/watch?v=78d6mwR8GtA&amp;amp;t=1247s&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's material on time-intel:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/" target="_blank"&gt;https://www.sqlbi.com/tv/time-intelligence-in-microsoft-power-bi/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Mon, 30 Mar 2020 18:02:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-reference-to-Date-in-table-cannot-be-used-with-a/m-p/999036#M12629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-30T18:02:42Z</dc:date>
    </item>
  </channel>
</rss>

