<?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 JavaScript sdk date time filter in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/JavaScript-sdk-date-time-filter/m-p/63646#M2010</link>
    <description>&lt;P&gt;I downloaded Power BI angular client sample (&lt;A href="https://github.com/Azure-Samples/powerbi-angular-client" target="_blank"&gt;https://github.com/Azure-Samples/powerbi-angular-client&lt;/A&gt;) and try to implement an advanced filter in the hosting application to filter my report by date time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It didn't work. The server returns this error:&amp;nbsp;Object {message: "Invalid filter definition"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code segment for advanced filter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    static predefinedFilter2 = new pbi.models.AdvancedFilter({
        table: "f_msANA_byRelease_transformed",
        column: "aaValuePeriodStartTime"
    }, "And",
        {
            operator: "GreaterThan",
            value: "2016-06-01"
        }
    );&lt;/PRE&gt;&lt;P&gt;I tried to change the date time to different format but hit the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion is appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Aug 2016 09:33:34 GMT</pubDate>
    <dc:creator>keithpoplar</dc:creator>
    <dc:date>2016-08-30T09:33:34Z</dc:date>
    <item>
      <title>JavaScript sdk date time filter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/JavaScript-sdk-date-time-filter/m-p/63646#M2010</link>
      <description>&lt;P&gt;I downloaded Power BI angular client sample (&lt;A href="https://github.com/Azure-Samples/powerbi-angular-client" target="_blank"&gt;https://github.com/Azure-Samples/powerbi-angular-client&lt;/A&gt;) and try to implement an advanced filter in the hosting application to filter my report by date time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It didn't work. The server returns this error:&amp;nbsp;Object {message: "Invalid filter definition"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code segment for advanced filter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    static predefinedFilter2 = new pbi.models.AdvancedFilter({
        table: "f_msANA_byRelease_transformed",
        column: "aaValuePeriodStartTime"
    }, "And",
        {
            operator: "GreaterThan",
            value: "2016-06-01"
        }
    );&lt;/PRE&gt;&lt;P&gt;I tried to change the date time to different format but hit the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion is appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2016 09:33:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/JavaScript-sdk-date-time-filter/m-p/63646#M2010</guid>
      <dc:creator>keithpoplar</dc:creator>
      <dc:date>2016-08-30T09:33:34Z</dc:date>
    </item>
  </channel>
</rss>

