<?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: Ratio in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868163#M1015779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used a macro to achieve what you wanted (Found the macro here: &lt;A href="https://community.qlik.com/message/89963"&gt;How to calculate the GCD(Greatest Common divisor)&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the application and see if this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 13:57:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-07T13:57:16Z</dc:date>
    <item>
      <title>Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868157#M1015771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I create a ratio (not as a percentage)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a sales value of 1754 and a demo value of 764&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I display the sales:demo ratio&amp;nbsp; (1754 : 764) in its lowest form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868157#M1015771</guid>
      <dc:creator />
      <dc:date>2015-04-07T12:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868158#M1015773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dual( sales_value &amp;amp; ' : ' &amp;amp; demo_value, sales_value/demo_value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you asking how to calculate the greatest common divisor? There's no Qlikview function to do that. You'll have to calculate it before hand or use a macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868158#M1015773</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-07T12:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868159#M1015775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt;‌ &lt;/STRONG&gt;this won't be in its lowest form. The lowest form would be displaying it as&amp;nbsp; &lt;STRONG&gt;877:382&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/sabahsdada"&gt;sabahsdada&lt;/A&gt;&lt;/STRONG&gt; ? This is what you are looking to do???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868159#M1015775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-07T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868160#M1015776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right, I need to see this value in its lowest form&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868160#M1015776</guid>
      <dc:creator />
      <dc:date>2015-04-07T13:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868161#M1015777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still looking for ways to achieve what you wanted, but have been unsuccessful so far. Came across this link: &lt;A __default_attr="3095" __jive_macro_name="idea" class="jive_macro jive_macro_idea" data-orig-content="GCD Function" href="https://community.qlik.com/" modifiedtitle="true" title="GCD Function"&gt;&lt;/A&gt;‌, where you can vote for a function which can help you with what you are trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868161#M1015777</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-07T13:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868162#M1015778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try doing it in the script.&lt;/P&gt;&lt;P&gt;see the link below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/13971"&gt;How to calculate the GCD(Greatest Common divisor)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you have the gcd value, then u can use the formula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=salesvalue/GCDfield &amp;amp;":"&amp;amp;demovalue/GCDfield&lt;/P&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868162#M1015778</guid>
      <dc:creator>mjayachandran</dc:creator>
      <dc:date>2015-04-07T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868163#M1015779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Used a macro to achieve what you wanted (Found the macro here: &lt;A href="https://community.qlik.com/message/89963"&gt;How to calculate the GCD(Greatest Common divisor)&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the application and see if this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868163#M1015779</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-07T13:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio/m-p/868164#M1015781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;='1 : '&amp;amp;round( demo_value/sales_value ,2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 16:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio/m-p/868164#M1015781</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-04-07T16:25:31Z</dc:date>
    </item>
  </channel>
</rss>

