<?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: set analysis based off user input in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765930#M454272</link>
    <description>&lt;P&gt;Each button needs to overwrite the value of the variable (it's only a single one for this use-case) with the value respectively fieldname which should be come in use for your calculation.&lt;/P&gt;&lt;P&gt;IMO easier and with more usability and better usage of the screen is the above already mentioned selection-approach. Just creating an island-table and using the field in a listbox. In your case maybe with smething as this:&lt;/P&gt;&lt;P&gt;t: load pick(recno(), '&lt;SPAN&gt;distal', 'prox', 'distal 2', 'prox 2') as f autogenerate 4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3*(Stdev(Aggr(Sum(&lt;STRONG&gt;[$(=minstring(f))]&lt;/STRONG&gt;),BatchSeq,CATHETER)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 09:39:26 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2020-12-03T09:39:26Z</dc:date>
    <item>
      <title>set analysis based off user input</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765686#M454253</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;im looking for some advice, i have a text object that will display standard deviation. however i need the calculation to change based on the user input.&amp;nbsp;&lt;/P&gt;&lt;P&gt;there are 4 fields named "distal" "prox", "distal 2" and "prox 2" in my table. each of these fields have values in them. I need my calculation to know that when the user selects the "prox" button, that it will only display the STD for the values in that&amp;nbsp; prox field?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is my calculation so far,&amp;nbsp;&lt;/P&gt;&lt;P&gt;"=3*(Stdev(Aggr(Sum(distal),BatchSeq,CATHETER)))"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as you can tell, the above calculation will work for the field "distal" but it wont for the others, is there anyway i can replace the distal with a correct function that will display the correct field once the user selects which one they want to view?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you ,&lt;/P&gt;&lt;P&gt;Ciarán&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765686#M454253</guid>
      <dc:creator>BSCIknowlec</dc:creator>
      <dc:date>2024-11-15T23:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based off user input</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765699#M454254</link>
      <description>&lt;P&gt;You could replace the hard-coded field with a variable-value (controlled by one/several buttons or an inputbox) or with a selection (from an island-table) and this may the look like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3*(Stdev(Aggr(Sum(&lt;STRONG&gt;[$(var)]&lt;/STRONG&gt;),BatchSeq,CATHETER)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3*(Stdev(Aggr(Sum(&lt;STRONG&gt;[$(=minstring(SelectionField))]&lt;/STRONG&gt;),BatchSeq,CATHETER)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 12:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765699#M454254</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-02T12:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based off user input</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765718#M454255</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;what would the variable look like for these 4 fields? i currently just have a variable named vSection and have a set variable for each button with prox = 1, distal = 2 etc and that works for my filtering, i tried inputting that variable in the calculation but had no luck.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 13:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765718#M454255</guid>
      <dc:creator>BSCIknowlec</dc:creator>
      <dc:date>2020-12-02T13:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based off user input</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765857#M454266</link>
      <description>&lt;P&gt;are you saying for the expression&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"=3*(Stdev(Aggr(Sum(&lt;EM&gt;&lt;STRONG&gt;distal&lt;/STRONG&gt;&lt;/EM&gt;),BatchSeq,CATHETER)))"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you want distal to be replaced by &lt;STRONG&gt;prox &lt;/STRONG&gt;if that is what the user selects?&amp;nbsp; &amp;nbsp;create a variable driven by the user input.&amp;nbsp; such that it is the field you want&lt;BR /&gt;&lt;BR /&gt;"=3*(Stdev(Aggr(Sum(&lt;EM&gt;&lt;STRONG&gt;$(variableFoField)&lt;/STRONG&gt;&lt;/EM&gt;),BatchSeq,CATHETER)))"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this will be evaluated first and substituted with the value either prox or distal before the expression is evaluated&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765857#M454266</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-02T21:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based off user input</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765915#M454270</link>
      <description>&lt;P&gt;Hi Edwin, thanks for the information,&lt;/P&gt;&lt;P&gt;yes that is exactly what i am trying to do, there will be 4 buttons on the screen and once the user selects lets say "prox" it will automatically update the STD to calculate it just for the values within the field "prox"&amp;nbsp;&lt;/P&gt;&lt;P&gt;would you know how to go about this? i am a bit of a novice when it comes to these variables,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 08:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765915#M454270</guid>
      <dc:creator>BSCIknowlec</dc:creator>
      <dc:date>2020-12-03T08:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis based off user input</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765930#M454272</link>
      <description>&lt;P&gt;Each button needs to overwrite the value of the variable (it's only a single one for this use-case) with the value respectively fieldname which should be come in use for your calculation.&lt;/P&gt;&lt;P&gt;IMO easier and with more usability and better usage of the screen is the above already mentioned selection-approach. Just creating an island-table and using the field in a listbox. In your case maybe with smething as this:&lt;/P&gt;&lt;P&gt;t: load pick(recno(), '&lt;SPAN&gt;distal', 'prox', 'distal 2', 'prox 2') as f autogenerate 4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3*(Stdev(Aggr(Sum(&lt;STRONG&gt;[$(=minstring(f))]&lt;/STRONG&gt;),BatchSeq,CATHETER)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-based-off-user-input/m-p/1765930#M454272</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-03T09:39:26Z</dc:date>
    </item>
  </channel>
</rss>

