<?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: Last 7 days query,  error near '&amp;lt;' in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899604#M40962</link>
    <description>&lt;P&gt;No, I am looking for the past 7 days. Today, I would be looking for June 7th thru June13th from both tables One uses the the 'TimeDown' field as the date, the other currently uses 'Date' Note: I could use TimeOpen in table 2, which would give me two date/time fields (if that is easier).&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 18:06:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-06-14T18:06:20Z</dc:date>
    <item>
      <title>Last 7 days query,  error near '&lt;'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899561#M40958</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I h&lt;/SPAN&gt;ave a query I am running it selects data from 2 tables. I am trying to get get both tables to uese the same date range. The query below was modified to try to get&lt;U&gt; both&lt;/U&gt; tables to return the last 7 days worth of data. The blue text is what I added.&lt;/P&gt;&lt;P&gt;WHERE (d.TimeDown &amp;gt;= DATEADD(day, - 7, GETDATE(), &lt;FONT color="#0000FF"&gt;(Date &amp;gt;= DATEADD(day, -7, GETDATE()&lt;/FONT&gt;))"]),&amp;nbsp; I get a syntax error near "&amp;gt;" which started when I added the second date statement. Can this be resolved, or am I writing this incorrectly? So far, my original table will pull the last 7 days as requested, but the second table delivers everything since 2005.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 17:42:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899561#M40958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-14T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days query,  error near '&lt;'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899573#M40959</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , are you writing a SQL in advance option &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like&lt;/P&gt;
&lt;P&gt;WHERE (d.TimeDown &amp;gt;= DATEADD(day, - 7, GETDATE()) and (d.TimeDown &amp;lt;= DATEADD(day, 0, GETDATE())))&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 17:46:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899573#M40959</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-06-14T17:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last 7 days query,  error near '&lt;'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899604#M40962</link>
      <description>&lt;P&gt;No, I am looking for the past 7 days. Today, I would be looking for June 7th thru June13th from both tables One uses the the 'TimeDown' field as the date, the other currently uses 'Date' Note: I could use TimeOpen in table 2, which would give me two date/time fields (if that is easier).&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 18:06:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-7-days-query-error-near-lt/m-p/1899604#M40962</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-14T18:06:20Z</dc:date>
    </item>
  </channel>
</rss>

