<?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: Displaying a value based on another value in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308267#M516161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count(Number) &amp;gt; 1, Only({&amp;lt;Status = {'In Use'}&amp;gt;} Center), Only(Center))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 08:16:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-30T08:16:03Z</dc:date>
    <item>
      <title>Displaying a value based on another value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308266#M516160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table that looks something like this.&amp;nbsp;&amp;nbsp; In some cases there are multiple cost centers for one phone number.&amp;nbsp; In these cases, I would like to write an expression that will only show the cost center associated with the status "in Use". In my example below, that would be cost center &lt;SPAN style="font-size: 13.3333px; text-align: -webkit-right;"&gt;879090&lt;/SPAN&gt;.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 297px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="126"&gt;Number&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="107"&gt;Status&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Center&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;555-555-1711&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;In Use&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;879090&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;555-555-1711&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Closed&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;909840&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;555-555-1711&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Pending&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;90876544&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;555-555-1712&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;In Use&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3788909&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308266#M516160</guid>
      <dc:creator>julesjohnson</dc:creator>
      <dc:date>2017-03-30T08:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a value based on another value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308267#M516161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count(Number) &amp;gt; 1, Only({&amp;lt;Status = {'In Use'}&amp;gt;} Center), Only(Center))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308267#M516161</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T08:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a value based on another value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308268#M516162</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;With the phone number as the dimension, you could use&lt;/P&gt;&lt;P&gt;Concat(Distinct {&amp;lt;Status={"In Use"}&amp;gt;} Center)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308268#M516162</guid>
      <dc:creator>karthiksrqv</dc:creator>
      <dc:date>2017-03-30T08:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a value based on another value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308269#M516163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I tweaked it just a bit to fit my actual column names it it worked perfectly!!&lt;/P&gt;&lt;P&gt;if(count(DISTINCT [Cost Center])&amp;gt;1, Only({&amp;lt;Status = {'In Use'}&amp;gt;} [Cost Center]), Only([Cost Center]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 08:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-a-value-based-on-another-value-in-a-table/m-p/1308269#M516163</guid>
      <dc:creator>julesjohnson</dc:creator>
      <dc:date>2017-03-30T08:28:06Z</dc:date>
    </item>
  </channel>
</rss>

