<?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: What function to use to replace numbered  key holders with series of values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514831#M748958</link>
    <description>&lt;P&gt;Then look at Marcus's response below. I think variable with parameters should be the answer&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2018 12:41:59 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-11-30T12:41:59Z</dc:date>
    <item>
      <title>What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514363#M748952</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What function can I use to replace numbered key holders with a series of values.&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;UnknownFunction('Number of calls since&amp;nbsp; t&lt;SPAN&gt;he {1}th quarter of&amp;nbsp;{2}', 4, 2018)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;results in the string:&amp;nbsp;'Number of calls since&amp;nbsp; the 4th quarter of&amp;nbsp;2018'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R.W.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514363#M748952</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2024-11-16T21:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514372#M748953</link>
      <description>Where exactly are you trying to do this? There might be other ways to do this... but there is no function like the one you mentioned above.</description>
      <pubDate>Thu, 29 Nov 2018 16:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514372#M748953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-29T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514425#M748954</link>
      <description>&lt;P&gt;Maybe you could use a parametrized variable:&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewmaven.blogspot.de/2011/04/variable-that-acts-like-user-defined.html" target="_blank" rel="nofollow noopener noreferrer"&gt;&lt;SPAN&gt;Variable That Acts Like a User-Defined Function&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5932" target="_blank"&gt;&lt;SPAN&gt;Dynamic Field Expressions with Variables&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-9045" target="_blank"&gt;&lt;SPAN&gt;Variables with Parameters&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 17:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514425#M748954</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-29T17:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514813#M748955</link>
      <description>&lt;P&gt;Hi Stalwart1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yes I could use the Replace function:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SET vStartDatum&lt;/SPAN&gt;=Floor(Date( Today(), 'DD/MM/YYYY'));&lt;/P&gt;&lt;P&gt;Replace(Replace(&lt;SPAN&gt;'Number of calls since&amp;nbsp; t&lt;/SPAN&gt;&lt;SPAN&gt;he {1}th quarter of&amp;nbsp;{2}'&lt;/SPAN&gt;,'{1}',Div(Month($(vStartDatum)) - 1 , 3) + 1),'{2}',Year($(vStartDatum)))&lt;/P&gt;&lt;P&gt;But I'm looking for one function, not nesting the Replace function&lt;/P&gt;&lt;P&gt;R.W.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 12:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514813#M748955</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2018-11-30T12:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514820#M748956</link>
      <description>&lt;P&gt;Why can't you just use this?&lt;/P&gt;&lt;PRE&gt;='Number of calls since  the '&lt;BR /&gt;&amp;amp;&lt;BR /&gt;Div(Month($(vStartDatum)) - 1 , 3) + 1)&lt;BR /&gt;&amp;amp;&lt;BR /&gt;'th quarter of '&lt;BR /&gt;&amp;amp;&lt;BR /&gt;Year($(vStartDatum))&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Nov 2018 12:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514820#M748956</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-30T12:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514825#M748957</link>
      <description>&lt;P&gt;Because I actually strongly simplified the real issue.&lt;BR /&gt;I have up to 15 parameters {1},&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;{2},&amp;nbsp;&amp;nbsp;{3},&amp;nbsp;&amp;nbsp;{4},&amp;nbsp;&amp;nbsp;{5},&amp;nbsp; ...&amp;nbsp;{14},&amp;nbsp;{15} and of the string in which they have to be replaced I have 5 different variations in two different languages.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 12:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514825#M748957</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2018-11-30T12:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514831#M748958</link>
      <description>&lt;P&gt;Then look at Marcus's response below. I think variable with parameters should be the answer&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 12:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514831#M748958</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-30T12:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514835#M748959</link>
      <description>&lt;P&gt;You mean: &lt;SPAN&gt;'Number of calls since&amp;nbsp; t&lt;/SPAN&gt;&lt;SPAN&gt;he {1}th quarter of&amp;nbsp;{2}' is the content of a field-value and {1} and {2} are just placeholder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then you could use mapsubstring() to replace all the parameters with a single function. See here the function and an (advanced) example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/MapSubstring.htm" target="_blank"&gt;MappingFunctions/MapSubstring&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Scripting/Wildcard-Lookup-between-two-tables/td-p/9223" target="_blank"&gt;Wildcard-Lookup-between-two-tables&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 12:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1514835#M748959</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-30T12:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515335#M748960</link>
      <description>&lt;P&gt;marcus_sommer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;But it looks like this&amp;nbsp;&lt;SPAN&gt;mapsubstring() is used in scripts. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm looking for a function used in expressions on text boxes, titles, ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;R.W.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 08:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515335#M748960</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2018-12-03T08:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515345#M748961</link>
      <description>&lt;P&gt;I think in this case you will need multiple and/or nested expressions. Like already mentioned you could use parametrized variables to simplify it and keep the "ugly" expression within a variable.&lt;/P&gt;&lt;P&gt;But IMO you should do everything of this transformations within the script or at least the most important parts. I don't see much benefit to do it within the UI. You mentioned it should serve for some kind of adjustment for different languages and/or different formattings and therfore I think the following will be quite useful for you: &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Handling-Multiple-Languages/ba-p/1473518" target="_blank"&gt;Handling-Multiple-Languages&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 08:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515345#M748961</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-12-03T08:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515380#M748965</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Marcus,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The fact that it's needed in the UI is because the user must have the control of several options and these options define the expressions in the text boxes, titles, etc etc&lt;/P&gt;&lt;P&gt;These options concern dates, date periods (day, week, month, quarter, year),&amp;nbsp; language,&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;There is no choice&lt;/P&gt;&lt;P&gt;I'll do it with nested replace functions, I'd hoped for a more transparent solution.&lt;/P&gt;&lt;P&gt;R.W.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 09:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515380#M748965</guid>
      <dc:creator>rudywelvaert</dc:creator>
      <dc:date>2018-12-03T09:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: What function to use to replace numbered  key holders with series of values</title>
      <link>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515426#M748971</link>
      <description>&lt;P&gt;Please read the above mentioned link again because I think it covered your task quite well. The users could select their wished language per variable or per fieldselections (both ways are possible) and titles, expressions and so on will be appropriate adjusted with the translation table which here worked as a kind of mapping.&lt;/P&gt;&lt;P&gt;If you want to implement multiple independent adjustments like the language translation you could just duplicate the logic to provide the possibility to choose the date- and number-formattings and other thing separately.&lt;/P&gt;&lt;P&gt;Of course UI solutions will be possible but AFAIK the suggested script-approach will be the easiest way to handle it especially if it needs to be applied to multiple applications and if the apps needs to be maintained.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 10:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/What-function-to-use-to-replace-numbered-key-holders-with-series/m-p/1515426#M748971</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-12-03T10:02:52Z</dc:date>
    </item>
  </channel>
</rss>

