<?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 Using SQL query to pre-filter what Socrata OData feed pulls in not working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Using-SQL-query-to-pre-filter-what-Socrata-OData-feed-pulls-in/m-p/2439208#M35354</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect to this Open Data Portal run by Socrata from the EDD:&amp;nbsp;&lt;A href="https://data.edd.ca.gov/Industry-Information-/Quarterly-Census-of-Employment-and-Wages-QCEW-/fisq-v939/data#revert" target="_blank" rel="noopener"&gt;https://data.edd.ca.gov/Industry-Information-/Quarterly-Census-of-Employment-and-Wages-QCEW-/fisq-v939/data#revert&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it is so large that I want to specify in the query a filter (&lt;SPAN&gt;?$filter=year &amp;gt;2020).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I try and use the SODA API endpoint even eithout any filtering language, I get the error below - it won't recognize it as a valid source/connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_1-1649205574213.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695322i49CEA4C87980CF07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_1-1649205574213.png" alt="alicek_1-1649205574213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_0-1649205525191.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695321i44D81D82087CEB89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_0-1649205525191.png" alt="alicek_0-1649205525191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I try and connect using the OData V2 endpoint, it works when I don't add any filtering language and simply add the link as the connection. However, when I try and add the query language to filter, it shows the error below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_2-1649205634111.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695323i4A4F98266DFE7C09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_2-1649205634111.png" alt="alicek_2-1649205634111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_3-1649205655130.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695324i7B900C75FDDAC73C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_3-1649205655130.png" alt="alicek_3-1649205655130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone help me with this?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 00:42:02 GMT</pubDate>
    <dc:creator>alicek</dc:creator>
    <dc:date>2022-04-06T00:42:02Z</dc:date>
    <item>
      <title>Using SQL query to pre-filter what Socrata OData feed pulls in not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-SQL-query-to-pre-filter-what-Socrata-OData-feed-pulls-in/m-p/2439208#M35354</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect to this Open Data Portal run by Socrata from the EDD:&amp;nbsp;&lt;A href="https://data.edd.ca.gov/Industry-Information-/Quarterly-Census-of-Employment-and-Wages-QCEW-/fisq-v939/data#revert" target="_blank" rel="noopener"&gt;https://data.edd.ca.gov/Industry-Information-/Quarterly-Census-of-Employment-and-Wages-QCEW-/fisq-v939/data#revert&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, it is so large that I want to specify in the query a filter (&lt;SPAN&gt;?$filter=year &amp;gt;2020).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I try and use the SODA API endpoint even eithout any filtering language, I get the error below - it won't recognize it as a valid source/connection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_1-1649205574213.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695322i49CEA4C87980CF07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_1-1649205574213.png" alt="alicek_1-1649205574213.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_0-1649205525191.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695321i44D81D82087CEB89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_0-1649205525191.png" alt="alicek_0-1649205525191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I try and connect using the OData V2 endpoint, it works when I don't add any filtering language and simply add the link as the connection. However, when I try and add the query language to filter, it shows the error below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_2-1649205634111.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695323i4A4F98266DFE7C09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_2-1649205634111.png" alt="alicek_2-1649205634111.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alicek_3-1649205655130.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/695324i7B900C75FDDAC73C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alicek_3-1649205655130.png" alt="alicek_3-1649205655130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone help me with this?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 00:42:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-SQL-query-to-pre-filter-what-Socrata-OData-feed-pulls-in/m-p/2439208#M35354</guid>
      <dc:creator>alicek</dc:creator>
      <dc:date>2022-04-06T00:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using SQL query to pre-filter what Socrata OData feed pulls in not working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-SQL-query-to-pre-filter-what-Socrata-OData-feed-pulls-in/m-p/2439214#M35355</link>
      <description>&lt;P&gt;Oh man, I solved my own problem by learning more SQL than I ever knew! For anyone who searches the same key words because they're having the same problem.... here is the solution:&lt;BR /&gt;&lt;BR /&gt;Connect to the V2 endpoint of the OData feed. Then use the right SQL language (I was not using it!). See bolded below:&lt;BR /&gt;= OData.Feed("&lt;A href="https://data.edd.ca.gov/OData.svc/fisq-v939" target="_blank"&gt;https://data.edd.ca.gov/OData.svc/fisq-v939&lt;/A&gt;&lt;STRONG&gt;?$filter=year gt 2020 and area_name eq 'San Francisco County'&lt;/STRONG&gt;", null, [Implementation="2.0"])&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 00:52:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-SQL-query-to-pre-filter-what-Socrata-OData-feed-pulls-in/m-p/2439214#M35355</guid>
      <dc:creator>alicek</dc:creator>
      <dc:date>2022-04-06T00:52:25Z</dc:date>
    </item>
  </channel>
</rss>

