<?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: Text box to show conditional text based on selected dimesion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116582#M368467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(distinct Department) &amp;gt;= 0, &lt;SPAN style="font-size: 10pt; color: #000000;"&gt;'&lt;EM&gt;Click here to drill down to team', &lt;SPAN style="font-size: 10pt; color: #000000;"&gt;'&lt;EM&gt;No Teams for this department'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Jun 2016 05:25:09 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-06-26T05:25:09Z</dc:date>
    <item>
      <title>Text box to show conditional text based on selected dimesion</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116581#M368466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; color: #000000;"&gt;I need an expression to put in a text box or create a variable using that expression to display text based on selected dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style="color: #0000ff;"&gt;Data Model&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #000000;"&gt;I have a Department Table&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000;"&gt;And a Team Table (Which links to department with DepartmentId as foreign key)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style="color: #ff6600;"&gt;NOTE&lt;/STRONG&gt;&lt;SPAN style="color: #ff6600;"&gt;:&lt;/SPAN&gt; Some Departments does not have teams&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #000000;"&gt;An an Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #000000;"&gt;Sales Department has 3 Teams (Team1, Team2, Team3 )&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000;"&gt;And Finance Department has NO Teams&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;If Department is selected as '&lt;STRONG&gt;Sales&lt;/STRONG&gt;'&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;Then it should say '&lt;EM&gt;Click here to drill down to team'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;If Department is selected as '&lt;STRONG&gt;Finance&lt;/STRONG&gt;'&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;Then it should say '&lt;EM&gt;No Teams for this department'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;Because this department does not have any teams&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jun 2016 04:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116581#M368466</guid>
      <dc:creator />
      <dc:date>2016-06-26T04:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Text box to show conditional text based on selected dimesion</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116582#M368467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(distinct Department) &amp;gt;= 0, &lt;SPAN style="font-size: 10pt; color: #000000;"&gt;'&lt;EM&gt;Click here to drill down to team', &lt;SPAN style="font-size: 10pt; color: #000000;"&gt;'&lt;EM&gt;No Teams for this department'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jun 2016 05:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116582#M368467</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-26T05:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Text box to show conditional text based on selected dimesion</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116583#M368468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" height="130" src="https://community.qlik.com/legacyfs/online/129181_1.png" style="height: 129.253px; width: 269px;" width="269" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;= &lt;/EM&gt;&lt;EM&gt;IF(GetPossibleCount(Team)&amp;gt;0 and GetSelectedCount(Department)=1, 'Click here to drill down to team', 'No Teams for this department / Select 1 department')&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jun 2016 05:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-to-show-conditional-text-based-on-selected-dimesion/m-p/1116583#M368468</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-06-26T05:48:42Z</dc:date>
    </item>
  </channel>
</rss>

