<?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: Dynamic input in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1320270#M329326</link>
    <description>&lt;P&gt;Are you running the app with the Run button or the magic wand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the second screenshot: Guessing you have the right line selected (highlighted in Blue)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 14:47:42 GMT</pubDate>
    <dc:creator>ChrisTX</dc:creator>
    <dc:date>2024-09-19T14:47:42Z</dc:date>
    <item>
      <title>Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1320254#M329320</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have a dynamic input to fetch the data from one SQL table.&lt;/P&gt;&lt;P&gt;I want from Alteryx server to insert the PO number but every time I have the same output and I dont Know why.&lt;/P&gt;&lt;P&gt;You can find in the images attached the workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My query is simple&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DECLARE @PONumber VARCHAR(20)&lt;BR /&gt;DECLARE @Currency VARCHAR(3)&lt;BR /&gt;DECLARE @Amount VARCHAR(20)&lt;BR /&gt;DECLARE @Exchange_rate VARCHAR(20)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET @PONumber = '35452918'&lt;BR /&gt;SET @Currency = 'EUR'&lt;BR /&gt;SET @Amount = '945200'&lt;BR /&gt;SET @Exchange_rate = '1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT order_number AS PONumber, orders_currency AS Currency , price_ordered AS Amount , orders_exchangerate AS Exchange_rate&lt;BR /&gt;&lt;BR /&gt;FROM T2_PROD_NEM_NEW.trimergo.orders&lt;/P&gt;&lt;P&gt;WHERE order_number = @PONumber AND orders_currency = @Currency AND price_ordered =@Amount AND orders_exchangerate = @Exchange_rate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 14:13:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1320254#M329320</guid>
      <dc:creator>Abdelrahmanmahdy</dc:creator>
      <dc:date>2024-09-19T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1320270#M329326</link>
      <description>&lt;P&gt;Are you running the app with the Run button or the magic wand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the second screenshot: Guessing you have the right line selected (highlighted in Blue)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 14:47:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1320270#M329326</guid>
      <dc:creator>ChrisTX</dc:creator>
      <dc:date>2024-09-19T14:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321347#M329563</link>
      <description>&lt;P&gt;I am running the app from the run button. the second image shows option replace the PO number but it doesn't affect anything.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 10:10:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321347#M329563</guid>
      <dc:creator>Abdelrahmanmahdy</dc:creator>
      <dc:date>2024-09-23T10:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321350#M329565</link>
      <description>&lt;P&gt;You said&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;the second image shows option replace the PO number but it doesn't affect anything&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know that in the top section, the line highlighted in Blue is the text that will be changed?&amp;nbsp; do you have the correct line selected (highlighted in Blue)?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 10:17:04 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321350#M329565</guid>
      <dc:creator>ChrisTX</dc:creator>
      <dc:date>2024-09-23T10:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321378#M329575</link>
      <description>&lt;P&gt;I know that the blue selected line is the one I have to change.&lt;/P&gt;&lt;P&gt;I have attached four images. The first three show the steps I did in the action tool.&lt;/P&gt;&lt;P&gt;First one when I connect the action tool, second one when I check the replace a specific string and the third one shows when I delete all the query and keep only the number 35452918.&lt;/P&gt;&lt;P&gt;The forth image shows the text box whatever I write a new PO the out put still 35452918.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 11:46:15 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321378#M329575</guid>
      <dc:creator>Abdelrahmanmahdy</dc:creator>
      <dc:date>2024-09-23T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321403#M329585</link>
      <description>&lt;P&gt;I think I'll need to see the entire workflow and macro.&amp;nbsp; I can't understand the flow with just the screenshots.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the first image, you're trying to replace a specific string that doesn't exist in the highlighted line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 13:14:27 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321403#M329585</guid>
      <dc:creator>ChrisTX</dc:creator>
      <dc:date>2024-09-23T13:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321750#M329686</link>
      <description>&lt;P&gt;You can find the workflow as an attachment.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:48:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321750#M329686</guid>
      <dc:creator>Abdelrahmanmahdy</dc:creator>
      <dc:date>2024-09-24T08:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321826#M329713</link>
      <description>&lt;P&gt;What happens when you run the app with the magic wand and type in a different value for the PO number?&amp;nbsp; Do you not get any results?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because you are only replacing one value (the PO Number) in your query, but the SQL has four hard-coded values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET @PONumber = '35452918'&lt;BR /&gt;SET @Currency = 'EUR'&lt;BR /&gt;SET @Amount = '945200'&lt;BR /&gt;SET @Exchange_rate = '1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 11:42:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321826#M329713</guid>
      <dc:creator>ChrisTX</dc:creator>
      <dc:date>2024-09-24T11:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321848#M329720</link>
      <description>&lt;P&gt;When I put in the text box a new value for PO. it still gives me the same four values in the output (35452918,EUR,945200 and 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I keep only &lt;SPAN&gt;SET @PONumber = '35452918' and remove the other three values&lt;/SPAN&gt;&amp;nbsp;from the query as below it doesn't give me any values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DECLARE @PONumber VARCHAR(20)&lt;BR /&gt;DECLARE @Currency VARCHAR(3)&lt;BR /&gt;DECLARE @Amount VARCHAR(20)&lt;BR /&gt;DECLARE @Exchange_rate VARCHAR(20)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET @PONumber = '35452918'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT order_number AS PONumber, orders_currency AS Currency , price_ordered AS Amount , orders_exchangerate AS Exchange_rate&lt;BR /&gt;&lt;BR /&gt;FROM T2_PROD_NEM_NEW.trimergo.orders&lt;/P&gt;&lt;P&gt;WHERE order_number = @PONumber AND orders_currency = @Currency AND price_ordered =@Amount AND orders_exchangerate = @Exchange_rate&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 12:32:15 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321848#M329720</guid>
      <dc:creator>Abdelrahmanmahdy</dc:creator>
      <dc:date>2024-09-24T12:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic input</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321988#M329735</link>
      <description>&lt;P&gt;Open the app in designer so you can see the workflow.&amp;nbsp; Open Interface Designer, click the magic wand, and click the Debug button&lt;/P&gt;&lt;P&gt;Enter a new value for a PO Number.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when the Debug tab opens, see what value is in your SQL.&lt;/P&gt;&lt;P&gt;Also in the Debug tab, what is in the Debug log at the top right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This statement:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;When I keep only&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SET @PONumber = '35452918' and remove the other three values&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;from the query as below it doesn't give me any values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is because your SQL WHERE clause is expecting 4 fields to be set, but you've only set one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a basic SQL issue, not related to Alteryx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 14:40:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamic-input/m-p/1321988#M329735</guid>
      <dc:creator>ChrisTX</dc:creator>
      <dc:date>2024-09-24T14:40:55Z</dc:date>
    </item>
  </channel>
</rss>

