<?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: Pass through a list into a sql statement with parameter in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Pass-through-a-list-into-a-sql-statement-with-parameter/m-p/2801256#M86830</link>
    <description>&lt;P&gt;You need to wrap your parameter call in Text.From()&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2022 23:49:42 GMT</pubDate>
    <dc:creator>talbot</dc:creator>
    <dc:date>2022-09-27T23:49:42Z</dc:date>
    <item>
      <title>Pass through a list into a sql statement with parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Pass-through-a-list-into-a-sql-statement-with-parameter/m-p/2801174#M86825</link>
      <description>&lt;P&gt;I have a list from an existing query called "RiskDataSetID" which contains numerical values (i.e. 741,738,736....n). I created a parameter for this list and i am trying to implement it into the where statement of my sql query to try and limit the data i am pulling. I am running into an error which states "We cannot apply operator &amp;amp; to types Text and Number."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the query i am trying to update using the parameter&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from db..databaseresults&lt;/P&gt;&lt;P&gt;where riskdatasetid in (&lt;STRONG&gt;RiskDataSetID parameter&lt;/STRONG&gt;)&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;&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;</description>
      <pubDate>Tue, 27 Sep 2022 22:00:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Pass-through-a-list-into-a-sql-statement-with-parameter/m-p/2801174#M86825</guid>
      <dc:creator>OldN00b</dc:creator>
      <dc:date>2022-09-27T22:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pass through a list into a sql statement with parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Pass-through-a-list-into-a-sql-statement-with-parameter/m-p/2801256#M86830</link>
      <description>&lt;P&gt;You need to wrap your parameter call in Text.From()&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 23:49:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Pass-through-a-list-into-a-sql-statement-with-parameter/m-p/2801256#M86830</guid>
      <dc:creator>talbot</dc:creator>
      <dc:date>2022-09-27T23:49:42Z</dc:date>
    </item>
  </channel>
</rss>

