<?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: Re: Can we have sliders taking alphanumeric and text values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785506#M277919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even better, use the dual() function on top of my previous solution.&lt;/P&gt;&lt;P&gt;When creating QuarterYear, make sure that you have both a string value (e.g. Q1'12, Q2'12, ...) and a numerical value (e.g. corresponding with the previous = 20121, 20122, 20123 etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your LOAD statement, create the QuarterYear field as follows:&lt;/P&gt;&lt;P&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;dual(&lt;EM&gt;StringVersionOfQuarterYear&lt;/EM&gt;, &lt;EM&gt;NumericalVersionOFQuarterYear&lt;/EM&gt;) AS QuarterYear,&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;/P&gt;&lt;P&gt;Replace both placeholders in italics with the expressions that calculate the corresponding values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That one can be used in a slider as well, as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="StringsInSliders.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72859_StringsInSliders.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PEter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 13:54:41 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2014-12-05T13:54:41Z</dc:date>
    <item>
      <title>Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785504#M277917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a situation where I have a list box named Quarter year, by the name you can except the values it can have like&lt;/P&gt;&lt;P&gt;Q1'12,Q2'12........., Q1'16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to have a slider for this field where I want to select two Quarters and I want to run the analytics.&lt;/P&gt;&lt;P&gt;The problem I have is when go for the properties and select "field" in the slider nothing is shown on the slider and even the slider got struck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now I maintaining it with numeric values for the thing to work, but is there a chance to make it work, the slider&lt;/P&gt;&lt;P&gt;or any other suggestion is suggestible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 13:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785504#M277917</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2014-12-05T13:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785505#M277918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your calendar LOAD statement, next to QuarterYear, add a field with a name like QuarterYearNum that contains Year()*10+QuarterNum, leading to values of 20141 for Q1'14 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field like that can be used in a slider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 13:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785505#M277918</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-05T13:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785506#M277919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even better, use the dual() function on top of my previous solution.&lt;/P&gt;&lt;P&gt;When creating QuarterYear, make sure that you have both a string value (e.g. Q1'12, Q2'12, ...) and a numerical value (e.g. corresponding with the previous = 20121, 20122, 20123 etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your LOAD statement, create the QuarterYear field as follows:&lt;/P&gt;&lt;P&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;dual(&lt;EM&gt;StringVersionOfQuarterYear&lt;/EM&gt;, &lt;EM&gt;NumericalVersionOFQuarterYear&lt;/EM&gt;) AS QuarterYear,&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;/P&gt;&lt;P&gt;Replace both placeholders in italics with the expressions that calculate the corresponding values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That one can be used in a slider as well, as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="StringsInSliders.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72859_StringsInSliders.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PEter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 13:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785506#M277919</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-05T13:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785507#M277920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I will try and get let you know the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 15:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785507#M277920</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2014-12-05T15:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785508#M277921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi peter,&lt;/P&gt;&lt;P&gt;I have tried your solution , but I am not successful.This is my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FiscalCalendar:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;dual(QuarterYear,Year * 10 +QuarterNo) as QuYr;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;right(Quarter,1) as QuarterNo;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(FiscalDate) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Q'&amp;amp;ceil(month(FiscalDate) / 3) as Quarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q'&amp;amp;ceil(month(FiscalDate)/3) &amp;amp; chr(39) &amp;amp;&amp;nbsp; Right(Year(FiscalDate), 2) as QuarterYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'FY'&amp;amp;Right(Year(FiscalDate),2)&amp;amp;'P'&amp;amp; Num(Month(FiscalDate)) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Date(MonthStart(TempDate), 'MMM-YYYY') As MonthYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Week(FiscalDate) as Week,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //WeekDay(FiscalDate) as WeekDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Week(TempDate) &amp;amp; '-' &amp;amp;Year(TempDate) as WeekYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(FiscalDate) as Day,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InYearToDate(FiscalDate, $(vToday), 0) * -1 as CurYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InYearToDate(FiscalDate, $(vToday), -1) * -1 as LastYTDFlag,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(YearStart(FiscalDate, 0, 4)) as FiscalYear;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate as ForecastDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AddMonths(TempDate,$(vMonthCount)) as FiscalDate&lt;/P&gt;&lt;P&gt;Resident TempCal Order by TempDate asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TempCal;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have used QuYr for slider, but my slider is showing the numeric values rather than the string representation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2014 15:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785508#M277921</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2014-12-07T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785509#M277922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weird. It does work for me, although the dual() function indeed makes the field act like a numerical value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="StringsInSliders2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/72944_StringsInSliders2.jpg" style="width: 620px; height: 251px;" /&gt;&lt;/P&gt;&lt;P&gt;What happens if you select QuarterYear as slider field? Never mind the sorting order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2014 20:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785509#M277922</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-07T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785510#M277923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi peter,&lt;/P&gt;&lt;P&gt;The slider is showing alphanumeric for single value or multiple value mode but when I select continuous /numeric&lt;/P&gt;&lt;P&gt;value mode it is showing the numeric values like 20101, 20102....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application I want to show the forecast ...&amp;nbsp;&amp;nbsp; for the end user between any two quarters like Q114 -&amp;nbsp; Q315.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have go to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to post a qvw, just give me some time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785510#M277923</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2014-12-08T04:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785511#M277924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m having a query can u c it once kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 04:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785511#M277924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T04:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785512#M277925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi peter,&lt;/P&gt;&lt;P&gt;I checked ur sample thank you for providing it.&lt;/P&gt;&lt;P&gt;According to ur sample if we multi select I dont wont the range of values , I want the first an&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;d last Quarters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="New Picture.bmp" class="jive-image" src="/legacyfs/online/72953_New Picture.bmp" style="width: 620px; height: 249px;" /&gt;&lt;/P&gt;&lt;P&gt;In the above I want Q4'14 and Q2'15 but when I go for continuous value mode all string representation is converted into numberic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we take variables in the slider other than QuYR can we change achieve, i tried but what the "Step"should be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 05:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785512#M277925</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2014-12-08T05:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785513#M277926</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;I didn't get you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 05:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785513#M277926</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2014-12-08T05:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have sliders taking alphanumeric and text values</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785514#M277927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you are sending the slider value through some function, the text value is lost. You can easily recreate it using an expression. It would be better if the numerical value is still a date instead of an articifial year and quarter, so that you can do limit checks or calculations on those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want all selected values, but just the first and last quarter, use Min () and Max() in a text box or in an expression to display those values or restrict some object to quarters between those limits. In expressions it's always better to use the date value instead of the text string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 07:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-have-sliders-taking-alphanumeric-and-text-values/m-p/785514#M277927</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-11T07:58:32Z</dc:date>
    </item>
  </channel>
</rss>

