<?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 Embedded report filter not working on integer fields? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/50782#M1553</link>
    <description>&lt;P&gt;I am working with embedded PBI reports. If I create the following filter on an nvarchar column it works as expected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?reportId=&amp;lt;Report GUID&amp;gt;&amp;amp;$filter=Record/Title%20eq%20'My test title'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However if I try to filter on a number column (tested on smallint and bigint columns) with something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?reportId=&amp;lt;Report GUID&amp;gt;&amp;amp;$filter=Record/ID%20eq%20'1234'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get "This filter can't be used since the corresponding field is invalid". I can create a report-level filter using the ID field and the filters in the filter pane look identical. Is this a bug or is my syntax wrong?&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2016 07:51:04 GMT</pubDate>
    <dc:creator>AndyS</dc:creator>
    <dc:date>2016-07-18T07:51:04Z</dc:date>
    <item>
      <title>Embedded report filter not working on integer fields?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/50782#M1553</link>
      <description>&lt;P&gt;I am working with embedded PBI reports. If I create the following filter on an nvarchar column it works as expected:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?reportId=&amp;lt;Report GUID&amp;gt;&amp;amp;$filter=Record/Title%20eq%20'My test title'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However if I try to filter on a number column (tested on smallint and bigint columns) with something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?reportId=&amp;lt;Report GUID&amp;gt;&amp;amp;$filter=Record/ID%20eq%20'1234'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get "This filter can't be used since the corresponding field is invalid". I can create a report-level filter using the ID field and the filters in the filter pane look identical. Is this a bug or is my syntax wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 07:51:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/50782#M1553</guid>
      <dc:creator>AndyS</dc:creator>
      <dc:date>2016-07-18T07:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded report filter not working on integer fields?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/50859#M1554</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe you get that exception because of your commata -&amp;gt; ' &amp;lt;-&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because Int32 columns must not be quoted. &amp;nbsp;Just try it without those:&amp;nbsp;&lt;SPAN&gt;?reportId=&amp;lt;Report GUID&amp;gt;&amp;amp;$filter=Record/ID%20eq%201234&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As referred to this example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://services.odata.org/V4/OData/OData.svc/Products?$filter=ID%20eq%20%275%27" target="_blank"&gt;http://services.odata.org/V4/OData/OData.svc/Products?$filter=ID%20eq%20%275%27&lt;/A&gt; -&amp;gt; with&amp;nbsp;quotes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://services.odata.org/V4/OData/OData.svc/Products?$filter=ID%20eq%205" target="_blank"&gt;http://services.odata.org/V4/OData/OData.svc/Products?$filter=ID%20eq%205&lt;/A&gt; -&amp;gt; without&amp;nbsp;quotes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Greetings&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2016 11:55:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/50859#M1554</guid>
      <dc:creator>akagiz</dc:creator>
      <dc:date>2016-07-18T11:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded report filter not working on integer fields?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/52500#M1629</link>
      <description>&lt;P&gt;Thanks for your suggestion akagiz. I thought I replied to your post the other day but apparently not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try creating the filter without the single quotes around the value as you suggested before posting here but didn't have any success.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 00:24:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-report-filter-not-working-on-integer-fields/m-p/52500#M1629</guid>
      <dc:creator>AndyS</dc:creator>
      <dc:date>2016-07-25T00:24:11Z</dc:date>
    </item>
  </channel>
</rss>

