<?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: Basic Variable Creation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524915#M687878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, lots of useful suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 11:20:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-11-15T11:20:28Z</dc:date>
    <item>
      <title>Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524908#M687869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an extremely basic question around creating a variable based on a field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field name = Store_Group&lt;/P&gt;&lt;P&gt;Possible values = Group X, Group Y, Group Z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a variable to only display Store_Group where the value = Group X?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I have a few charts that will be pre-filtered for report users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524908#M687869</guid>
      <dc:creator />
      <dc:date>2013-11-14T11:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524909#M687870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of variable, you can use the Set Analysis to filter the data in the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anyways, in your scenario, you want variable name to be Group X or you want that variable to hold the value Group X?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524909#M687870</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-11-14T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524910#M687871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you need a QV variable here, wouldn't the variable just hold 'Group X' then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to filter a chart permanently, you can either create a calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Store_Group = 'Group X', Store_Group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Suppress NULL on dimension tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use a set expression in all your expression aggregation functions, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(&lt;STRONG&gt;{&amp;lt;Store_Group = {'Group X'}&amp;gt;}&lt;/STRONG&gt; Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524910#M687871</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-14T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524911#M687872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just wanted your charts to show Store_Group='GroupX' then you can use set analysis in the chart expression.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Store_Group={'Group X'}&amp;gt;}amount ) or&lt;/P&gt;&lt;P&gt;if you want this to be a default value in the Store_Group filter box so that when user logs in they will see this by default and they can select another value of Store_Group from the filter box if they want. for this you can use Trigger Action (Select in Field) and you can have a Clear button created which will have the Select in Field action of Store_Group field as the Group X so that when users hit clear button the value goes back to default value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524911#M687872</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2013-11-14T11:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524912#M687873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your variable is static(only one possible value), then you can directly store the string in the variable or use that string in place of the variable directly.If variable, then like:&lt;/P&gt;&lt;P&gt;vVariable='Group X'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524912#M687873</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-11-14T11:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524913#M687874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum(&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Store_Group = {'Group X'}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Count(&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Store_Group = {'Group X'}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Value)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;etc&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524913#M687874</guid>
      <dc:creator />
      <dc:date>2013-11-14T11:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524914#M687876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Use the GetFieldselection() function. it gives you the selection of the field value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Declare a varaible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Ex : $(V1)=Getfieldselection(Fieldname) and then give it a layout condition $(V1)=Group X then it displays whenever the varaible having GroupX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 11:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524914#M687876</guid>
      <dc:creator />
      <dc:date>2013-11-14T11:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Variable Creation</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524915#M687878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, lots of useful suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 11:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-Variable-Creation/m-p/524915#M687878</guid>
      <dc:creator />
      <dc:date>2013-11-15T11:20:28Z</dc:date>
    </item>
  </channel>
</rss>

