<?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 qliksense set variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129239#M917821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;I'm new to QlikSense&lt;/P&gt;&lt;P&gt;I have a transaction table that has amounts in two currencies&lt;/P&gt;&lt;P&gt;I want the end user click a button to set a variable vCurrency&lt;/P&gt;&lt;P&gt;then in my expression I want to use if else statement and display either Sum(Sales_currency_1) or Sum(Sales_Currency_2)&lt;/P&gt;&lt;P&gt;depending on the value of the variable which is set by a button&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>qliksense set variable</title>
      <link>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129239#M917821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;I'm new to QlikSense&lt;/P&gt;&lt;P&gt;I have a transaction table that has amounts in two currencies&lt;/P&gt;&lt;P&gt;I want the end user click a button to set a variable vCurrency&lt;/P&gt;&lt;P&gt;then in my expression I want to use if else statement and display either Sum(Sales_currency_1) or Sum(Sales_Currency_2)&lt;/P&gt;&lt;P&gt;depending on the value of the variable which is set by a button&lt;/P&gt;&lt;P&gt;Please advise&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/qliksense-set-variable/m-p/1129239#M917821</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense set variable</title>
      <link>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129240#M917822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want a button in qlik sense, you have to get one as extension. I would rather suggest to create an inline table with single field with two values, may be like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load * inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CurrencyFlag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Currency1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Currency2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;And then define your variable like &lt;SPAN style="font-family: 'courier new', courier;"&gt;vCurrency=CurrencyFlag. &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Now when the users selects a value from CurrencyFlag, it gets assigned to the variable. Then your if expression should work fine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 07:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129240#M917822</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-05-12T07:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense set variable</title>
      <link>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129241#M917823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good &lt;/P&gt;&lt;P&gt;but how to get these extension and how to get them work?&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 07:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129241#M917823</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-05-12T07:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense set variable</title>
      <link>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129242#M917824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A similar discussion is here: &lt;A href="https://community.qlik.com/thread/216458"&gt;How we can create Buttons with actions in Qliksense?&lt;/A&gt; Please check the Qlik Branch links there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 07:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qliksense-set-variable/m-p/1129242#M917824</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-05-12T07:22:04Z</dc:date>
    </item>
  </channel>
</rss>

