<?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: Dynamically calculate points for a metric based on formula stored in metadata. in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818817#M199844</link>
    <description>&lt;P&gt;Thanks &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/25451"&gt;@OllieClarke&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/67366"&gt;@atcodedog05&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/198910"&gt;@apathetichell&lt;/a&gt; for the solution and help on my problem statement. This is exactly what I need and&amp;nbsp; solution will work for me. I will need to make additional changes, have additional columns/formulas to work with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will keep you posted if I am stuck further in my solution but thanks very much for all the help.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 15:22:38 GMT</pubDate>
    <dc:creator>rparimi</dc:creator>
    <dc:date>2021-09-07T15:22:38Z</dc:date>
    <item>
      <title>Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818506#M199759</link>
      <description>&lt;P&gt;I have a requirement where&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) Metrics are stored in excel as &lt;STRONG&gt;metadata&lt;/STRONG&gt; with a formula. User can add new metrics with formulas.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Metric&lt;/TD&gt;&lt;TD&gt;Formula&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;IF [Raw Score] = 'No'&lt;BR /&gt;THEN 0&lt;BR /&gt;ELSE 5&lt;BR /&gt;ENDIF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;% of high risk sites segmented and monitored&lt;/TD&gt;&lt;TD&gt;IF [Raw Score]='100%'&lt;BR /&gt;THEN 0&lt;BR /&gt;ELSEIF [Raw Score] &amp;gt;='85%' &amp;amp;&amp;amp; [Raw Score]&amp;lt;='99%'&lt;BR /&gt;THEN '1'&lt;BR /&gt;ELSEIF [Raw Score]&amp;gt;='71%' &amp;amp;&amp;amp; [Raw Score]&amp;lt;='84%'&lt;BR /&gt;THEN 3&lt;BR /&gt;ELSEIF [Raw Score]&amp;lt;='70%'&lt;BR /&gt;THEN 5&lt;BR /&gt;ELSE 0&lt;BR /&gt;ENDIF&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;# of non-segmented sites&lt;/TD&gt;&lt;TD&gt;IF [Raw Score]=0&lt;BR /&gt;THEN 0&lt;BR /&gt;ELSEIF [Raw Score] &amp;gt;=1 &amp;amp;&amp;amp; [Raw Score]&amp;lt;=5&lt;BR /&gt;THEN '1'&lt;BR /&gt;ELSEIF [Raw Score]&amp;gt;=6 &amp;amp;&amp;amp; [Raw Score]&amp;lt;= 10&lt;BR /&gt;THEN 3&lt;BR /&gt;ELSE 5&lt;BR /&gt;ENDIF&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) Also there is sheet where User has raw_score for &lt;STRONG&gt;Input&lt;/STRONG&gt; Metric data. For ex:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Metric&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;Raw_Score&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;# of non-segmented sites&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;% of high risk sites segmented and monitored&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;# of non-segmented sites&lt;/TD&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;% of high risk sites segmented and monitored&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) I am expecting the Alteryx workflow to dynamically calculate the points based on raw_score by applying the formula for the metric which is defined in '1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Metric&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Raw_Score&amp;nbsp; &amp;nbsp; Points&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;# of non-segmented sites&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;Critical infrastructure designation&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;% of high risk sites segmented and monitored&lt;/TD&gt;&lt;TD&gt;80&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;# of non-segmented sites&lt;/TD&gt;&lt;TD&gt;21&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;% of high risk sites segmented and monitored&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please recommend what tool can accomplish this type of output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;--Ramesh&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 23:33:11 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818506#M199759</guid>
      <dc:creator>rparimi</dc:creator>
      <dc:date>2021-09-06T23:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818519#M199761</link>
      <description>&lt;P&gt;go to help - one tool workflow examples - dynamic replace.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 00:51:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818519#M199761</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2021-09-07T00:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818542#M199767</link>
      <description>&lt;P&gt;Thanks for the suggestion. I've tried that. Dynamic Replace is not helping because there is "n" rows of of formulas, it will add n columns as output. In my case, I just need one column for output that matches the formula associated with metric. Do you have an sample you can share as I'm running out of Ideas.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 04:20:37 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818542#M199767</guid>
      <dc:creator>rparimi</dc:creator>
      <dc:date>2021-09-07T04:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818543#M199768</link>
      <description>&lt;P&gt;This is how far I came with the sample data.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 04:23:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818543#M199768</guid>
      <dc:creator>rparimi</dc:creator>
      <dc:date>2021-09-07T04:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818645#M199796</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/83831"&gt;@rparimi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dynamic replace is still the way to go, you just need to do a bit of transforming to get the output you want &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OllieClarke_0-1631010615469.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/201395iE87D30D928CB8C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="OllieClarke_0-1631010615469.png" alt="OllieClarke_0-1631010615469.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ollie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 10:31:46 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818645#M199796</guid>
      <dc:creator>OllieClarke</dc:creator>
      <dc:date>2021-09-07T10:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818657#M199801</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/83831"&gt;@rparimi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting use case. Coincidentally I am also working on a similar project. My workflow is an extension of&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/25451"&gt;@OllieClarke&lt;/a&gt; (Thank you &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/25451"&gt;@OllieClarke&lt;/a&gt;&amp;nbsp;from your workflow I was able to get few ideas to refine steps)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Workflow:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="atcodedog05_0-1631012440309.png" style="width: 789px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/201400i829EE2A5344BEF3F/image-dimensions/789x618?v=v2" width="789" height="618" role="button" title="atcodedog05_0-1631012440309.png" alt="atcodedog05_0-1631012440309.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If my solution helps please mark&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/25451"&gt;@OllieClarke&lt;/a&gt;&amp;nbsp;'s post also as a solution since mine is just an extension of his&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps : )&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 11:05:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818657#M199801</guid>
      <dc:creator>atcodedog05</dc:creator>
      <dc:date>2021-09-07T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818658#M199802</link>
      <description>&lt;P&gt;Ah&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/67366"&gt;@atcodedog05&lt;/a&gt;, a&amp;nbsp;&lt;STRONG&gt;complete&lt;/STRONG&gt; solution! Nice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 11:09:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818658#M199802</guid>
      <dc:creator>OllieClarke</dc:creator>
      <dc:date>2021-09-07T11:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818817#M199844</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/25451"&gt;@OllieClarke&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/67366"&gt;@atcodedog05&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/198910"&gt;@apathetichell&lt;/a&gt; for the solution and help on my problem statement. This is exactly what I need and&amp;nbsp; solution will work for me. I will need to make additional changes, have additional columns/formulas to work with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will keep you posted if I am stuck further in my solution but thanks very much for all the help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:22:38 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818817#M199844</guid>
      <dc:creator>rparimi</dc:creator>
      <dc:date>2021-09-07T15:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically calculate points for a metric based on formula stored in metadata.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818827#M199847</link>
      <description>&lt;P&gt;Happy to help : )&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/83831"&gt;@rparimi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Cheers and have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:28:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Dynamically-calculate-points-for-a-metric-based-on-formula/m-p/818827#M199847</guid>
      <dc:creator>atcodedog05</dc:creator>
      <dc:date>2021-09-07T15:28:42Z</dc:date>
    </item>
  </channel>
</rss>

