<?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 AW:Show value (string) based on Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200899#M503295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesper,&lt;/P&gt;&lt;P&gt;Is the problem, that you have 2 (or more) entries in the Field Comment but only one BudgetVersion?&lt;/P&gt;&lt;P&gt;Do you want to show in the commentline only the BudgetVersion BU-2? That would be easy:&lt;/P&gt;&lt;P&gt;expression in Comment: If(BudgetVersion='BU-2',Comment)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jun 2010 14:54:51 GMT</pubDate>
    <dc:creator>brenner_martina</dc:creator>
    <dc:date>2010-06-24T14:54:51Z</dc:date>
    <item>
      <title>Show value (string) based on Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200898#M503294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sirs,&lt;/P&gt;&lt;P&gt;I Have a table like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;BudgetVersion Account Amount Comment&lt;BR /&gt;&lt;/STRONG&gt;BU-1 100 50 Last year + 3%&lt;BR /&gt;BU-1 200 10 According to seperate calc&lt;BR /&gt;BU-2 100 55 Wild guess&lt;BR /&gt;BU-2 200 14 Based on sales dept. estimate&lt;/P&gt;&lt;P&gt;I a pivot table, i have a column with the &lt;STRONG&gt;COMMENT&lt;/STRONG&gt; field (text string) among other columns. I want to ONLY have the comment that relates to budgetversion BU-2 shown. I have a variable &lt;EM&gt;vActualBudget&lt;/EM&gt; that contains the current budgetversion (in this case BU-2)&lt;/P&gt;&lt;P&gt;Can I use a clever set-analysis or do I need to use pick/match/fieldindex or other functions? Selecting the actual budgetversion from a listbox is NOT an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 14:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200898#M503294</guid>
      <dc:creator />
      <dc:date>2010-06-24T14:01:21Z</dc:date>
    </item>
    <item>
      <title>AW:Show value (string) based on Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200899#M503295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesper,&lt;/P&gt;&lt;P&gt;Is the problem, that you have 2 (or more) entries in the Field Comment but only one BudgetVersion?&lt;/P&gt;&lt;P&gt;Do you want to show in the commentline only the BudgetVersion BU-2? That would be easy:&lt;/P&gt;&lt;P&gt;expression in Comment: If(BudgetVersion='BU-2',Comment)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 14:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200899#M503295</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2010-06-24T14:54:51Z</dc:date>
    </item>
    <item>
      <title>AW:Show value (string) based on Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200900#M503296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The problem WAS, that I use ACCOUNT as a dimension in a pivot table.&lt;/P&gt;&lt;P&gt;So, I have two field values in COMMENT that matches the ACCOUNT, but I only want to display one of them, the one that matches the variable.&lt;/P&gt;&lt;P&gt;I can handle the amounts by a set analysis sum function, but i didnt know how to handle the string, since the ordinary calculating formulas (sum, count aso.) didnt support string values.&lt;/P&gt;&lt;P&gt;But i tried &lt;STRONG&gt;= only({$ &amp;lt; BudgetVersion = {"$(vActualBudget)"} &amp;gt; } COMMENT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And it worked.&lt;/P&gt;&lt;P&gt;But thanks anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jun 2010 15:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-value-string-based-on-Variable/m-p/200900#M503296</guid>
      <dc:creator />
      <dc:date>2010-06-24T15:30:47Z</dc:date>
    </item>
  </channel>
</rss>

