<?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: Show Budject count as on in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016258#M344351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dynamic based on what? selection in m?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2016 12:42:00 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-03-30T12:42:00Z</dc:date>
    <item>
      <title>Show Budject count as on</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016257#M344350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a requirement to show the below scenario in Text Object. Could you please help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Scenario:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In the Text Object, I want to show Budject count as on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The requirement is if you select Quarter or Month it will&amp;nbsp; display corresponding Quarter and Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; if you don't make &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;any selection &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;it will display as on . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I used this code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quarter&lt;/SPAN&gt;='Q4',&lt;SPAN style="color: #0000ff;"&gt;Round&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Number&lt;/SPAN&gt;)),&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Quarter&lt;/SPAN&gt;) &amp;gt; 0,&lt;SPAN style="color: #0000ff;"&gt;Round&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Number&lt;/SPAN&gt;)/3),&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;GetSelectedCount&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;month&lt;/SPAN&gt;) &amp;gt; 0,&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Number&lt;/SPAN&gt;),&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;m&lt;/SPAN&gt; ={'03-01-2016'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Number&lt;/SPAN&gt;))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;it is working. But I need simple code with dynamically changing by Quarter and&amp;nbsp; Month. Pls find attached qvw.&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;&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;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Krishna&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016257#M344350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-30T12:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show Budject count as on</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016258#M344351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dynamic based on what? selection in m?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016258#M344351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show Budject count as on</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016259#M344352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Quarter='Q4',Round(sum(Number)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(GetSelectedCount(Quarter) &amp;gt; 0,Round(sum(Number)/3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(GetSelectedCount(month) &amp;gt; 0,sum(Number),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;m ={"$(=Date(Max(m), 'MM-DD-YYYY'))"}&amp;gt;}&lt;/SPAN&gt;Number))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016259#M344352</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T12:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show Budject count as on</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016260#M344353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Sunny,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The requirement is if you select Quarter or Month it will&amp;nbsp; display corresponding Quarter and Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; if you don't make &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;any selection &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;it will display as on .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016260#M344353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-30T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show Budject count as on</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016261#M344354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Sunny,&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(Quarter='Q4',Round(sum(Number)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(GetSelectedCount(Quarter) &amp;gt; 0,Round(sum(Number)/3),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(GetSelectedCount(month) &amp;gt; 0,sum(Number),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;m ={"$(=Date(Max(m), 'MM-DD-YYYY'))"}&amp;gt;}&lt;/SPAN&gt;Number))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your code is working fine. how can i change Quarter Dynamically(Q4)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Krishna.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016261#M344354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-30T12:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show Budject count as on</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016262#M344355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having difficultly understanding your if condition. What exactly do you want to see when Quarter is selected and when Month is selected? and What happens when both are selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Budject-count-as-on/m-p/1016262#M344355</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T12:56:17Z</dc:date>
    </item>
  </channel>
</rss>

