<?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: round() help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31019#M780157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keerhtika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I did not understand which you have mentioned &lt;SPAN style="color: #3d3d3d; font-family: &amp;amp;font-size:13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;,'2','9' could you please explain once.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 07:12:48 GMT</pubDate>
    <dc:creator>mahitham</dc:creator>
    <dc:date>2018-04-13T07:12:48Z</dc:date>
    <item>
      <title>round() help</title>
      <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31017#M780154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me to convert below oracle decode function into Qlik UI as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;round( Sum ( decode ( [name] , 'valuerisk', [Value] ,0 ) ) /1000, 2 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here name and Value are the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/13229" target="_blank"&gt;jontydkpi&lt;/A&gt;could you please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/round-help/m-p/31017#M780154</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: round() help</title>
      <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31018#M780155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and see,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=round(sum(if(WildMatch([name],'valuerisk'),'1',&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; if(WildMatch([value],'0'),'2','9'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; )))/2,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;keerthika&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 07:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/round-help/m-p/31018#M780155</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2018-04-13T07:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: round() help</title>
      <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31019#M780157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keerhtika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I did not understand which you have mentioned &lt;SPAN style="color: #3d3d3d; font-family: &amp;amp;font-size:13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;,'2','9' could you please explain once.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 07:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/round-help/m-p/31019#M780157</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2018-04-13T07:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: round() help</title>
      <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31020#M780159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In oracle decode function syntax is&lt;/P&gt;&lt;P&gt;decode(column name,'100','IBM',&lt;/P&gt;&lt;P&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;&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; '200','Microsoft',&lt;/P&gt;&lt;P&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;&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; 'others')&lt;/P&gt;&lt;P&gt;if the column name is 100 it display IBM, if it is 200 it display Microsoft otherwise 'others'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like that &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;=round(sum(if(WildMatch([name],'valuerisk'),'1',&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(WildMatch([value],'0'),'2','9'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; )))/2,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;in the above expression if [name] is '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;valuerisk&lt;/SPAN&gt;' it will display 1 , if &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;value is 0 it will display 2 otherwise 9.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Is this way you are expecting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 07:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/round-help/m-p/31020#M780159</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2018-04-13T07:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: round() help</title>
      <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31021#M780161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keerthika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to oracle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My output value is like -42.88 for one of the record but by the above expression I am getting 45.00.&lt;/P&gt;&lt;P&gt;I have used below one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: &amp;amp;font-size:13px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;=round(sum(if(WildMatch([name],'valuerisk'),'1',&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: &amp;amp;font-size:13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;&amp;nbsp; if(WildMatch([value],'0'),'2','9'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: &amp;amp;font-size:13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px; border-color: #3d3d3d; border-style: none;"&gt;&amp;nbsp; )))/2,0.01)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have selected &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13.33px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;value = 0 in the table this expression is showing 1.00 not 2 as per your expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 07:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/round-help/m-p/31021#M780161</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2018-04-13T07:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: round() help</title>
      <link>https://community.qlik.com/t5/QlikView/round-help/m-p/31022#M780162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=round(sum(if(WildMatch([name],'valuerisk'),[value],0))/1000,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this expression and tel me what answer are you getting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 08:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/round-help/m-p/31022#M780162</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2018-04-13T08:06:06Z</dc:date>
    </item>
  </channel>
</rss>

