<?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: Conditional base requirement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-base-requirement/m-p/109801#M767374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Inline table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [Unit,Deno,Sign&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Single Unit,1,'$'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thousands,1000,'$''000'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Millions,1000000,'$''m'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;Use always one selected value in Unit Filter&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;Create a variable &lt;STRONG&gt;vDeno_Unit&lt;/STRONG&gt; and use this in expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TOT_CALL_CHARGE)/ $(&lt;STRONG style="font-size: 13.3333px;"&gt;vDeno_Unit)&amp;nbsp;&amp;nbsp;&amp;nbsp; // can enable based on condition&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Above scenario is just an example for unit conversion similarly you can implement the same for your scenario too&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2018 09:34:44 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2018-07-05T09:34:44Z</dc:date>
    <item>
      <title>Conditional base requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-base-requirement/m-p/109799#M767372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;i have field like unit type having money ,volume,duration these are three which will be in this field,it is dimension filed and added like filter.&lt;/P&gt;&lt;P&gt;one more field balance in this values are getting group by unit type so now my requirement is if i click on volume it has to give value in mb&lt;/P&gt;&lt;P&gt;and if i click on amount it has show just sum of value and if it is the duration in has to show in min as we are getting data in minutes&lt;/P&gt;&lt;P&gt;my doubt is in one fild only all type of values iam getting so based on group it has to show values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for that i have given expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(DIMENSION_FIELD2='MONEY',&lt;/P&gt;&lt;P&gt;num(sum(TOT_CALL_CHARGE),'##,##.##'),&lt;/P&gt;&lt;P&gt;if(DIMENSION_FIELD2='VOLUME',&lt;/P&gt;&lt;P&gt;num(sum(TOT_CALL_CHARGE/1048576),'###,##.##MB'),&lt;/P&gt;&lt;P&gt;if(DIMENSION_FIELD2='DURATION',&lt;/P&gt;&lt;P&gt;num(sum(TOT_CALL_CHARGE/60),'###,##')&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it is not working&lt;/P&gt;&lt;P&gt;can any one help on the same please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks 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/Conditional-base-requirement/m-p/109799#M767372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional base requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-base-requirement/m-p/109800#M767373</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 can try using &lt;SPAN style="font-size: 13.3333px;"&gt;GetFieldSelections&lt;/SPAN&gt; function, when nothing is selected you can set it to some default format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(GetFieldSelections(DIMENSION_FIELD2)='MONEY',&lt;/P&gt;&lt;P&gt;num(sum(TOT_CALL_CHARGE),'##,##.##'),&lt;/P&gt;&lt;P&gt;if(GetFieldSelections(DIMENSION_FIELD2)='VOLUME',&lt;/P&gt;&lt;P&gt;num(sum(TOT_CALL_CHARGE/1048576),'###,##.##MB'),&lt;/P&gt;&lt;P&gt;if(GetFieldSelections(DIMENSION_FIELD2)='DURATION',&lt;/P&gt;&lt;P&gt;num(sum(TOT_CALL_CHARGE/60),'###,##')&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 06:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-base-requirement/m-p/109800#M767373</guid>
      <dc:creator>pooja_prabhu_n</dc:creator>
      <dc:date>2018-07-05T06:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional base requirement</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-base-requirement/m-p/109801#M767374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create Inline table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Inline [Unit,Deno,Sign&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Single Unit,1,'$'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thousands,1000,'$''000'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Millions,1000000,'$''m'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;Use always one selected value in Unit Filter&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;Create a variable &lt;STRONG&gt;vDeno_Unit&lt;/STRONG&gt; and use this in expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TOT_CALL_CHARGE)/ $(&lt;STRONG style="font-size: 13.3333px;"&gt;vDeno_Unit)&amp;nbsp;&amp;nbsp;&amp;nbsp; // can enable based on condition&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Above scenario is just an example for unit conversion similarly you can implement the same for your scenario too&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 09:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-base-requirement/m-p/109801#M767374</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2018-07-05T09:34:44Z</dc:date>
    </item>
  </channel>
</rss>

