<?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 Text Object formula question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108247#M912085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dashboard which users access only through URL bookmarks that bring them into the application pre-filtered to their name.&amp;nbsp; The names of the users are in two different fields-- one is CTO and the other is CTO-1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relationship between CTO and CTO-1 is many to many (I think?).. meaning CTO's can have multiple -1's and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bookmarks i've created only have one name selected between the two fields mentioned above, and what I'm trying to do is have a text object display the person who is selected..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code in my text object:&lt;/P&gt;&lt;P&gt;=If(SubStringCount(vCTO,'CTO's Name')=1,'CTO's Name',&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],Null()&lt;/P&gt;&lt;P&gt;))))))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;vCTO is a varibale I made that = the CTO's name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when I have a CTO-1 selected and that person only has one CTO mapped to them it is displaying the CTO's name rather than the CTO-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Text Object formula question</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108247#M912085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a dashboard which users access only through URL bookmarks that bring them into the application pre-filtered to their name.&amp;nbsp; The names of the users are in two different fields-- one is CTO and the other is CTO-1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relationship between CTO and CTO-1 is many to many (I think?).. meaning CTO's can have multiple -1's and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bookmarks i've created only have one name selected between the two fields mentioned above, and what I'm trying to do is have a text object display the person who is selected..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following code in my text object:&lt;/P&gt;&lt;P&gt;=If(SubStringCount(vCTO,'CTO's Name')=1,'CTO's Name',&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1's Name' , [CTO-1],Null()&lt;/P&gt;&lt;P&gt;))))))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;vCTO is a varibale I made that = the CTO's name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when I have a CTO-1 selected and that person only has one CTO mapped to them it is displaying the CTO's name rather than the CTO-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108247#M912085</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object formula question</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108248#M912086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian89,&lt;/P&gt;&lt;P&gt;Don't use simple comma into a string, use chr(39)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(SubStringCount(vCTO,'CTO'&amp;amp;chr(39)&amp;amp;'s Name')=1,'CTO&amp;amp;chr(39)&amp;amp;s Name',&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1&amp;amp;chr(39)&amp;amp;s Name' , [CTO-1],Null()&lt;/P&gt;&lt;P&gt;))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108248#M912086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-02T07:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object formula question</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108249#M912087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;If([ProgramAMDeptCTO-1Manager]='CTO-1''s Name' , [CTO-1],&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using a double ' in a String instead of a single one. For me it is more readable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 08:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108249#M912087</guid>
      <dc:creator />
      <dc:date>2016-06-02T08:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object formula question</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108250#M912088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys there is not actually an apostrophe in the name.. it would something look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(SubStringCount(vCTO,'Andrew')=1,'Andrew',&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Randy' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Gary' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Mark' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='John' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Joe' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Bob' , [CTO-1],&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Jack' , [CTO-1],Null()&lt;/P&gt;&lt;P&gt;))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 15:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108250#M912088</guid>
      <dc:creator />
      <dc:date>2016-06-02T15:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Text Object formula question</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108251#M912089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=If(SubStringCount(vCTO,'Andrew')=1,'Andrew',&lt;/P&gt;&lt;P&gt;If([ProgramAMDeptCTO-1Manager]='Randy' OR&lt;/P&gt;&lt;P&gt;[ProgramAMDeptCTO-1Manager]='Gary' OR&lt;/P&gt;&lt;P&gt;[ProgramAMDeptCTO-1Manager]='Mark' OR&lt;/P&gt;&lt;P&gt;[ProgramAMDeptCTO-1Manager]='John' OR&lt;/P&gt;&lt;P&gt;[ProgramAMDeptCTO-1Manager]='Joe' OR&lt;/P&gt;&lt;P&gt;[ProgramAMDeptCTO-1Manager]='Bob' OR&lt;/P&gt;&lt;P&gt;[ProgramAMDeptCTO-1Manager]='Jack' , [CTO-1],Null()&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 06:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Object-formula-question/m-p/1108251#M912089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-03T06:43:15Z</dc:date>
    </item>
  </channel>
</rss>

