<?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 Conditional Dimension in Line Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Conditional-Dimension-in-Line-Chart/m-p/1418558#M33594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement is which if i want lines corresponding to the selected statuses from the filter and if only no status is selected then only one line correspond to 'ongoing' status should be displayed.&lt;/P&gt;&lt;P&gt;Dimension used:&lt;/P&gt;&lt;P&gt;IF(GETSELECTEDCOUNT(Status)&amp;gt;0,Status,'Ongoing')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Status)&amp;gt;0,&lt;/P&gt;&lt;P&gt;Count(distinct measure),&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Status={'Ongoing'} &amp;gt;}distinct &lt;SPAN style="font-size: 13.3333px;"&gt;measure&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting a weird behaviour here. If i select values in status, 'ongoing' line is also displayed with values as 0.&lt;/P&gt;&lt;P&gt;it should not appear at all&lt;/P&gt;&lt;P&gt;&lt;IMG alt="community.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187277_community.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we in any case make the2 dimensions- one for ongoing and other for all the values of status and make them conditional? like one dimension works if getselectedcount is 0 and one works when it is not .(This was easily possible in qlikview)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Dec 2017 07:00:36 GMT</pubDate>
    <dc:creator>chhavi376</dc:creator>
    <dc:date>2017-12-18T07:00:36Z</dc:date>
    <item>
      <title>Conditional Dimension in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Dimension-in-Line-Chart/m-p/1418558#M33594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement is which if i want lines corresponding to the selected statuses from the filter and if only no status is selected then only one line correspond to 'ongoing' status should be displayed.&lt;/P&gt;&lt;P&gt;Dimension used:&lt;/P&gt;&lt;P&gt;IF(GETSELECTEDCOUNT(Status)&amp;gt;0,Status,'Ongoing')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measure:&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Status)&amp;gt;0,&lt;/P&gt;&lt;P&gt;Count(distinct measure),&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Status={'Ongoing'} &amp;gt;}distinct &lt;SPAN style="font-size: 13.3333px;"&gt;measure&lt;/SPAN&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am getting a weird behaviour here. If i select values in status, 'ongoing' line is also displayed with values as 0.&lt;/P&gt;&lt;P&gt;it should not appear at all&lt;/P&gt;&lt;P&gt;&lt;IMG alt="community.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187277_community.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we in any case make the2 dimensions- one for ongoing and other for all the values of status and make them conditional? like one dimension works if getselectedcount is 0 and one works when it is not .(This was easily possible in qlikview)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 07:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Dimension-in-Line-Chart/m-p/1418558#M33594</guid>
      <dc:creator>chhavi376</dc:creator>
      <dc:date>2017-12-18T07:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dimension in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Dimension-in-Line-Chart/m-p/1418559#M33595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be easy to see this behavior in a sample to test this out... would you be able to share one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Dimension-in-Line-Chart/m-p/1418559#M33595</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-18T13:34:55Z</dc:date>
    </item>
  </channel>
</rss>

