<?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: Calculations + conversion in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886842#M12323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Columns? Or rows of data, then try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Div(Sum([Duration]), 60) &amp;amp; ':' &amp;amp; Mod(Sum([Duration]), 60)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 13:18:47 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2015-04-09T13:18:47Z</dc:date>
    <item>
      <title>Calculations + conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886841#M12322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have column called duration, its just a single numbers e.g 210&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully converted this to minutes using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;div([Duration], 60) &amp;amp; ':' &amp;amp; Mod([ Duration], 60)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and formatted the KPI to duration to show 3:30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all good if you want to do this for a single line of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem... I want to add up a number of columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum([Duration]) + Div([Duration], 60) &amp;amp; ':' &amp;amp; Mod([Duration], 60)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to try and add up all the columns and the convert to minutes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it maybe a typo. I have tried different variant's and no joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joeybird&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 13:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886841#M12322</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-04-09T13:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations + conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886842#M12323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Columns? Or rows of data, then try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Div(Sum([Duration]), 60) &amp;amp; ':' &amp;amp; Mod(Sum([Duration]), 60)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 13:18:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886842#M12323</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-04-09T13:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations + conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886843#M12324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's brilliant xxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question I would like to ask please is if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I calculated one answer (answer one), then another (answer two) answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to do a calculation answer one - answer two&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how would I go about it please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Div(Sum([Duration]), 60) &amp;amp; ':' &amp;amp; Mod(Sum([Duration]), 60)&lt;/SPAN&gt; - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Div(Sum([Duration_Finish_Time]), 60) &amp;amp; ':' &amp;amp; Mod(Sum([Duration_Finish_Time]), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joeybird &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 13:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886843#M12324</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-04-09T13:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations + conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886844#M12325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the conversion after any calculation, the conversion results in a string with which you can't calculate.&lt;/P&gt;&lt;P&gt;Something like (if I did not make a typo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Div((Sum([Duration])&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum([Duration_Finish_Time])),60)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;amp; ':' &amp;amp; &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mod((Sum([Duration])&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum([Duration_Finish_Time])),60)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 14:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886844#M12325</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-04-09T14:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations + conversion</title>
      <link>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886845#M12326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Superb!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;works wonderful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joeybird x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 14:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculations-conversion/m-p/886845#M12326</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-04-09T14:10:13Z</dc:date>
    </item>
  </channel>
</rss>

