<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/discussions/f/general/4323/i-have-4-columns-in-a-grid-i-need-the-value-in-the-second-column-divided-by-the</link><description>I have 4 columns in a grid. I need the value in the second column divided by the 3rd column and entered in the 4th column. So if 10000 is the second value and the 3rd column is 400 I need the 4th column autocalculated to 25. See the attached screenshot</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15490?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 23:49:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9fb43d12-abf1-4695-8199-98e218a7e2c6</guid><dc:creator>Frank</dc:creator><description>Thanks for your help, I never used the quotient function before.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15489?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 23:48:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:28faa4a2-0172-41ce-beaa-00c3456c5dcc</guid><dc:creator>Frank</dc:creator><description>I used    &lt;br /&gt;quotient(riCost,riBillableHours) saved as Cost per Hour&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15488?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 22:14:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c7e154f-b719-4b55-a88c-f03e6690e944</guid><dc:creator>rodgraham</dc:creator><description>I think the editable grids came in 7.5 - &lt;a href="https://forum.appian.com/suite/wiki/75/Appian_Release_Notes"&gt;forum.appian.com/.../Appian_Release_Notes&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15487?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 22:13:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:249c6ed5-4945-40a9-a490-15ab3d90175e</guid><dc:creator>radhaa</dc:creator><description>If it is a normal grid (not paging grid), you can place JavaScript/Jquery functions as you need (on change, on blur events on 2nd,3rd columns)&lt;br /&gt;1. you can use get value and set value methods to retrieve data from 2nd column, 3rd column by using fieldIds (like FormAPI.setvalue() and get value())&lt;br /&gt;2. define variable by calculating both of them and set that value to the 4th column.&lt;br /&gt;But here the crafty things is to get the index of that row from a dynamic grid view (adding/deleting rows).&lt;br /&gt;If it is fixed set of rows, then just iterate the rows and calculate it using for loop.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15486?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 21:56:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f0f70454-a8c9-4391-8790-d7533d4b4927</guid><dc:creator>Mike Schmitt</dc:creator><description>If you have 7.3 shouldn&amp;#39;t you have the ability to do a SAIL form?  Or does 7.3 predate editable grids?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15483?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 20:19:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f860f4ac-58c8-4449-9595-479bf182a61b</guid><dc:creator>Conor Cahill</dc:creator><description>Since non-SAIL forms don&amp;#39;t have the ability to dynamically update values, you&amp;#39;ll to do this through a form submission. A solution for this case could be having a button at the bottom of the form saying &amp;quot;Calculate Hourly Costs&amp;quot;, and using that button will submit the form, chain through a script task that calculates the hourly costs, and then chains back to the form.&lt;br /&gt;&lt;br /&gt;To the end user it doesn&amp;#39;t look like they left the form, and now the hourly costs are updated.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15481?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 19:49:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09d41a25-e214-4854-924f-13914735805c</guid><dc:creator>Frank</dc:creator><description>This is for version 7.3, we are upgrading to 7.8 but not in time for this project.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15479?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 18:55:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:971937dd-7202-4c6c-bab1-92179496b8e1</guid><dc:creator>rodgraham</dc:creator><description>Looks like this is a non SAIL form - you&amp;#39;d need to change to SAIL to  be able to do the suggested. If you can&amp;#39;t change to SAIL are you allowed to use javascript? You could try creating javascript rules for this. If not you could split the form into 2 one for entering the Cost and  Billable Hours another that then shows the Cost per Hour with the ability to move back to the data entry screen if needed.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15477?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 18:21:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d116633-4d49-4ce4-9128-8136c8b76129</guid><dc:creator>Lakshmi Meyyappan</dc:creator><description>I just realized you&amp;#39;ll probably want to use the same a!save on both the 2nd and 3rd column, so that if either value is changed then the 4th column is updated.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have 4 columns in a grid. I need the value in the second column divided by the</title><link>https://community.appian.com/thread/15476?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 18:06:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f157de7c-e54e-4bf2-ae36-bf72696b7415</guid><dc:creator>Lakshmi Meyyappan</dc:creator><description>Since the 3rd column is the denominator in the division, I would use an a!save() on the 3rd column. Something like: a!save(ri!costPerHour, quotient(ri!cost, ri!billableHours)), but you will want to null-check the cost and billableHours values before you try to perform the division.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>