<?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 Object - If Statement where Variable equals dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631987#M507224</link>
    <description>&lt;P&gt;Are there multiple values for Resident that you expect to see? May be try one of these&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Concat(DISTINCT If(vDisplayLevel = [Room], [Resident], ''))&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Concat(DISTINCT If(vDisplayLevel = [RoomNo], [Resident], ''))&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 07 Oct 2019 11:33:35 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-10-07T11:33:35Z</dc:date>
    <item>
      <title>Text Object - If Statement where Variable equals dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631983#M507223</link>
      <description>&lt;P&gt;I'm trying to create a text object with an if statement.&amp;nbsp; I've created a variable called vDisplayLevel which relates to record numbers within a data set.&amp;nbsp; I want certain fields to appear when the variable equals the corresponding record but I can't seem to get it to work.&lt;/P&gt;&lt;P&gt;Currently I'm using&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(( &lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT size="1" color="#808080"&gt;vDisplayLevel&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; = &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Room]&lt;/FONT&gt;&lt;FONT size="1"&gt;) , &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Resident]&lt;/FONT&gt;&lt;FONT size="1"&gt; , '') &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;and I've also tried&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(( &lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT size="1" color="#808080"&gt;vDisplayLevel&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; = &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[RoomNo]&lt;/FONT&gt;&lt;FONT size="1"&gt;) , &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Resident]&lt;/FONT&gt;&lt;FONT size="1"&gt; , '')&lt;/FONT&gt;&amp;nbsp; which converts the field [Room] to a text string.&amp;nbsp; Neither of these seem to work and I can't seem to figure out what I'm doing wrong.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631983#M507223</guid>
      <dc:creator>New2QlikView</dc:creator>
      <dc:date>2024-11-16T02:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object - If Statement where Variable equals dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631987#M507224</link>
      <description>&lt;P&gt;Are there multiple values for Resident that you expect to see? May be try one of these&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Concat(DISTINCT If(vDisplayLevel = [Room], [Resident], ''))&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Concat(DISTINCT If(vDisplayLevel = [RoomNo], [Resident], ''))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 07 Oct 2019 11:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631987#M507224</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-07T11:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object - If Statement where Variable equals dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631989#M507225</link>
      <description>Perfect, option 1 worked.</description>
      <pubDate>Mon, 07 Oct 2019 11:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-If-Statement-where-Variable-equals-dimension/m-p/1631989#M507225</guid>
      <dc:creator>New2QlikView</dc:creator>
      <dc:date>2019-10-07T11:37:53Z</dc:date>
    </item>
  </channel>
</rss>

