<?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 can we change sorting rule based on expression? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457248#M35885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello community,&lt;/P&gt;&lt;P&gt;i have this doubt in my app&lt;/P&gt;&lt;P&gt;i created a bar chart in which i used below expression as measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5&gt;&lt;STRONG&gt;if(Sum(Persons)&amp;gt;10000000, Num(Sum(Persons)/10000000, '###.##Cr'),&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5&gt;&lt;STRONG&gt;Num(Sum(Persons)/100000, '###.##Lacs')) &lt;/STRONG&gt;&lt;/H5&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expression checks the value and if its greater than 1cr is appends cr after the value else it appends lacs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after using this i'm getting following output:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sortttttttttttt.PNG" class="jive-image image-1" height="286" src="https://community.qlik.com/legacyfs/online/188556_sortttttttttttt.PNG" style="height: 286px; width: 499.12px;" width="499" /&gt;&lt;/P&gt;&lt;H4&gt;&lt;SPAN style="font-size: 12pt;"&gt;so the problem here is it shows 35.86lacs value bar larger than 4.39cr so is there any way i can impose some rule where it will treat lacs value smaller than crore value..&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2018 11:08:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-02T11:08:02Z</dc:date>
    <item>
      <title>can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457248#M35885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello community,&lt;/P&gt;&lt;P&gt;i have this doubt in my app&lt;/P&gt;&lt;P&gt;i created a bar chart in which i used below expression as measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5&gt;&lt;STRONG&gt;if(Sum(Persons)&amp;gt;10000000, Num(Sum(Persons)/10000000, '###.##Cr'),&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5&gt;&lt;STRONG&gt;Num(Sum(Persons)/100000, '###.##Lacs')) &lt;/STRONG&gt;&lt;/H5&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this expression checks the value and if its greater than 1cr is appends cr after the value else it appends lacs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after using this i'm getting following output:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sortttttttttttt.PNG" class="jive-image image-1" height="286" src="https://community.qlik.com/legacyfs/online/188556_sortttttttttttt.PNG" style="height: 286px; width: 499.12px;" width="499" /&gt;&lt;/P&gt;&lt;H4&gt;&lt;SPAN style="font-size: 12pt;"&gt;so the problem here is it shows 35.86lacs value bar larger than 4.39cr so is there any way i can impose some rule where it will treat lacs value smaller than crore value..&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 11:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457248#M35885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T11:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457249#M35886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed &lt;A href="https://community.qlik.com/qlik-users/61824"&gt;marcowedel&lt;/A&gt; post to achieve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly find the attached sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2&gt;'K','Mil','Bil','Tril') are available in that application.&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can change to Lac &amp;amp; Cr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457249#M35886</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2018-01-02T12:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457250#M35887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir can you send me the link of that exact discussion where i can find the solution of the matter.. &lt;/P&gt;&lt;P&gt;thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457250#M35887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T12:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457251#M35888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;May be this&lt;BR /&gt;&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(Sum(Persons)&amp;gt;10000000,alt( text(Num(Sum(Persons)/10000000, '###.##Cr'))&amp;nbsp; , &lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Sum(Persons)/10000000, '###.##')&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;),&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;alt(text(Num(Sum(Persons)/100000, '###.##Lacs')&amp;nbsp; ), &lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Sum(Persons)/10000000, '###.##')&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; )&lt;/STRONG&gt;&lt;/H5&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;use this expression and may be if required use measure expression in the number formatting instead of auto.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457251#M35888</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T12:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457252#M35889</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;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/117407"&gt;Number formatting - millions to billions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check Marco Wedel @&lt;A href="https://community.qlik.com/qlik-users/61824"&gt;marcowedel&lt;/A&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;‌ &lt;/SPAN&gt;Reply in that post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:40:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457252#M35889</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2018-01-02T12:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457253#M35890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this way it shows value as 0.36 (i.e) in crores only and it doesnt even append cr at the end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457253#M35890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T12:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457254#M35891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Pranav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's why asked you to use measure expression in the formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188562_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457254#M35891</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T12:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457255#M35892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this its not happening &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;IMG alt="comparrrr.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188565_comparrrr.PNG" style="height: 253px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 12:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457255#M35892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T12:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457256#M35893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;if(Sum(Persons)&amp;gt;10000000,dual( text(Num(Sum(Persons)/10000000, '###.##Cr'))&amp;nbsp; ,&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Sum(Persons)/10000000, '###.##')&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;),&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;dual(text(Num(Sum(Persons)/100000, '###.##Lacs')&amp;nbsp; ),&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Num(Sum(Persons)/10000000, '###.##')&lt;/STRONG&gt;&lt;/H5&gt;&lt;H5 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; )&lt;/STRONG&gt;&lt;/H5&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 13:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457256#M35893</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T13:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457257#M35894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried with dual and its working in my app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 13:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457257#M35894</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-02T13:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457258#M35895</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;maybe one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_286488_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188613_QlikCommunity_Thread_286488_Pic1.JPG" style="height: 454px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15149321346709269 jive_text_macro" jivemacro_uid="_15149321346709269"&gt;
&lt;P&gt;If(Sum(Persons)&amp;gt;10000000,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Dual(Money(Sum(Persons)/10000000, '###.##Cr',',','.'),Sum(Persons)),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Dual(Money(Sum(Persons)/100000, '###.##Lacs',',','.'),Sum(Persons))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 22:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457258#M35895</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-01-02T22:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457259#M35896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or sorted by measure expression value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_286488_Pic2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188614_QlikCommunity_Thread_286488_Pic2.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 22:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457259#M35896</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-01-02T22:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457260#M35897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello sir, &lt;A href="https://community.qlik.com/qlik-users/61824"&gt;marcowedel&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came up with one problem with this expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Sum([Sales Amount])&amp;gt;10000000,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Money(Sum([Sales Amount])/10000000, '###.##Cr','.'),Sum([Sales Amount])),&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Sum([Sales Amount])&amp;lt;100000000 and Sum([Sales Amount])&amp;gt;100000,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Money(Sum([Sales Amount])/100000, '###.##Lacs','.'),Sum([Sales Amount])),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Sum([Sales Amount])&amp;lt;100000 and Sum([Sales Amount])&amp;gt;0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Money(Sum([Sales Amount])/1000, '###.##K','.'),Sum([Sales Amount]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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; ,If(Sum([Sales Amount])=0,0.00)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this, it shows value in lacs crore and thousands but what if the value is negative ?? it fails to display those values in the format defined by expression, please help me with this sir. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="CRLAC1.PNG" class="jive-image image-1" height="163" src="https://community.qlik.com/legacyfs/online/191135_CRLAC1.PNG" style="height: 162.356px; width: 342px;" width="342" /&gt;&lt;IMG alt="CRLAC2.PNG" class="jive-image image-2" height="193" src="https://community.qlik.com/legacyfs/online/191136_CRLAC2.PNG" style="height: 192.337px; width: 307px;" width="306" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 05:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457260#M35897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-24T05:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457261#M35898</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;you could check e.g. for &lt;SPAN style="color: #ff0000;"&gt;fabs&lt;/SPAN&gt;(Sum(Persons))&amp;gt;100000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see also:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/GeneralNumericFunctions/fabs.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/GeneralNumericFunctions/fabs.htm"&gt;Fabs - script and chart function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 22:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457261#M35898</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-01-24T22:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: can we change sorting rule based on expression?</title>
      <link>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457262#M35899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Yes this works but what if I want to show value in&amp;nbsp; negative&amp;nbsp; if it is negative, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;like if my table has values like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;example: some positive and some negative values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 234px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="105"&gt;FY Year Name&lt;/TD&gt;&lt;TD width="129"&gt;cr&amp;amp; lac Final correct&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2010-11&lt;/TD&gt;&lt;TD&gt;0.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2011-12&lt;/TD&gt;&lt;TD&gt;-12.71Cr&amp;nbsp; (negative)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2012-13&lt;/TD&gt;&lt;TD&gt;51.03Cr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2013-14&lt;/TD&gt;&lt;TD&gt;62.95Cr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2014-15&lt;/TD&gt;&lt;TD&gt;64.15Cr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2015-16&lt;/TD&gt;&lt;TD&gt;114.84Cr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2016-17&lt;/TD&gt;&lt;TD&gt;-76.88Cr&amp;nbsp; (negative)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;2017-18&lt;/TD&gt;&lt;TD&gt;50.69Cr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;-&lt;/TD&gt;&lt;TD&gt;24.12K&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pranav&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 05:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/can-we-change-sorting-rule-based-on-expression/m-p/1457262#M35899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T05:13:39Z</dc:date>
    </item>
  </channel>
</rss>

