<?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>article How to use- Dual() in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/ta-p/1477054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: center;"&gt;Have you ever wonder how the examples from the Qlikview help may look like?&lt;/P&gt;&lt;P style="text-align: center;"&gt;Please see below and enjoy responsibly...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 18pt; text-decoration: underline; font-family: 'book antiqua', palatino;"&gt;&lt;STRONG&gt;&lt;EM&gt;Dual()&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;STRONG&gt;Definition:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Forced association of an arbitrary string representation &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with a given number representation &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;. In QlikView, when several data items read into one field have different string representations but the same valid number representation, they will all share the first string representation encountered. The dual function is typically used early in the script, before other data is read into the field concerned, in order to create that first string representation, which will be shown in list boxes etc.&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="80139" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/80139_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;where&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;EM&gt;text&lt;/EM&gt;&lt;/STRONG&gt; - this is first column of data&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;EM&gt;number&lt;/EM&gt;&lt;/STRONG&gt;- this is second column of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="81776" class="jive-image image-4" height="34" src="https://community.qlik.com/legacyfs/online/82289_pastedImage_0.png" style="width: 96px; height: 34.1052631578947px;" width="96" /&gt;&lt;/P&gt;&lt;P&gt;Qlikview has specific way of storing data. Each field is represented by Text and Number data type called &lt;STRONG&gt;dual.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The Text format is visible to user and the Number is being used for calculation and sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG __jive_id="80434" class="image-9 jive-image" src="https://community.qlik.com/legacyfs/online/80434_pastedImage_5.png" style="width: auto; height: auto; float: right;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can imagine that each field has top Text layer and bottom&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (like salad in your Hamburger) Number layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example"&gt;This association works most of the time and for most of the data type but there are situation that we need to force this association to work the way we want.&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example" style="text-align: center;"&gt;&lt;SPAN style="; font-size: 14pt; font-family: 'book antiqua', palatino;"&gt;&lt;STRONG&gt;&lt;EM&gt;Preparation&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #575757; text-decoration: underline;"&gt;Remember&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;A href="https://community.qlik.com/legacyfs/online/80770_ligtbulb.jpg"&gt;&lt;IMG __jive_id="80770" alt="ligtbulb.jpg" class="jive-image image-4" height="18" src="https://community.qlik.com/legacyfs/online/80770_ligtbulb.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-size: 10.6666679382324px; font-family: inherit;" width="16" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;To use the script below the csv file must be saved in the same folder that your qvd file&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example"&gt;Qlik help&amp;nbsp; example contains two tables: inline and from csv file(sample attached)&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;load dual ( string,numrep ) as DayOfWeek inline &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;[ string,numrep &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Monday,0 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Tuesday,1 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Wednesday,2 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Thursday,3 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Friday,4 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Saturday,5 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Sunday,6 ];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Directory;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD Date, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;afile.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600; font-size: 8pt;"&gt;&lt;STRONG&gt;//The last line&amp;nbsp; is not part of Qlikview help but you have to have this line to correctly load data into Qlikview&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="example"&gt;after Reload we have:&lt;/P&gt;&lt;P class="example"&gt;&lt;IMG __jive_id="80780" class="image-14 jive-image" src="https://community.qlik.com/legacyfs/online/80780_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P class="example"&gt;As you probably know when Values are on the &lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;left&lt;/EM&gt; hand side they represent &lt;SPAN style="text-decoration: underline;"&gt;Text&lt;/SPAN&gt; when on the &lt;EM&gt;right&lt;/EM&gt; N&lt;SPAN style="text-decoration: underline;"&gt;umber&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;So why we have Text on the right?&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;In the background (during load) the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;numbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; have been &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;&lt;STRONG&gt;associated&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; with the text.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So what you see is the &lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;bun&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;what you do not is the underlay &lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;salad&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="80435" class="image-10 jive-image" src="https://community.qlik.com/legacyfs/online/80435_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px; text-align: center;"&gt;&lt;SPAN style="font-size: 18pt; font-family: 'book antiqua', palatino;"&gt;&lt;STRONG&gt;&lt;EM&gt;Practical use:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 1&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;The simple but maybe not the most&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;useful calculation&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;is to add Days of the week from our data&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DayOfWeek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; vertical-align: top;"&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="80782" class="jive-image image-15" src="https://community.qlik.com/legacyfs/online/80782_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Counting days of the week:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80789" class="jive-image image-20" src="https://community.qlik.com/legacyfs/online/80789_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(please use attached xlsx file and below Script)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A survey has been conducted and the data in Excel file looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80785" class="jive-image image-17" src="https://community.qlik.com/legacyfs/online/80785_pastedImage_10.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;What we want is to assign more meaningful description to the rate numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;mapping load * Inline&lt;/P&gt;&lt;P&gt;[ Rate,Value&lt;/P&gt;&lt;P&gt;Very Good,5&lt;/P&gt;&lt;P&gt;Good,4&lt;/P&gt;&lt;P&gt;Average,3&lt;/P&gt;&lt;P&gt;Bad,2&lt;/P&gt;&lt;P&gt;Very Bad,1&lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sort:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Responds,&lt;/P&gt;&lt;P&gt;dual(Rate,ApplyMap('Data',Rate)) as Rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Survey.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we can create &lt;EM&gt;Straight Table&lt;/EM&gt; or bar &lt;EM&gt;Bar Chart:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80786" class="image-18 jive-image" src="https://community.qlik.com/legacyfs/online/80786_pastedImage_10.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;IMG __jive_id="80787" class="jive-image image-19" src="https://community.qlik.com/legacyfs/online/80787_pastedImage_11.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function can be use in many different ways.Please research our community to find more examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still feeling hungry?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8146"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-7963"&gt;Do you Qualify?- How to use QUALIFY statement&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-7969"&gt;How to use - Dimensionality()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8030"&gt;Missing Manual - GetFieldSelections() + Bonus Example&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8019"&gt;MaxString &amp;amp;amp; MinString - How to + examples&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8006"&gt;The second dimension... or how to use secondarydimensionality()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8150"&gt;Not authorized to view the specified document 8150&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8106"&gt;How to use- Dual()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8009"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 14:07:44 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2015-03-06T14:07:44Z</dc:date>
    <item>
      <title>How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/ta-p/1477054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: center;"&gt;Have you ever wonder how the examples from the Qlikview help may look like?&lt;/P&gt;&lt;P style="text-align: center;"&gt;Please see below and enjoy responsibly...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 18pt; text-decoration: underline; font-family: 'book antiqua', palatino;"&gt;&lt;STRONG&gt;&lt;EM&gt;Dual()&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;STRONG&gt;Definition:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Forced association of an arbitrary string representation &lt;SPAN class="Italic"&gt;s&lt;/SPAN&gt; with a given number representation &lt;SPAN class="Italic"&gt;x&lt;/SPAN&gt;. In QlikView, when several data items read into one field have different string representations but the same valid number representation, they will all share the first string representation encountered. The dual function is typically used early in the script, before other data is read into the field concerned, in order to create that first string representation, which will be shown in list boxes etc.&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-family: 'arial black', 'avant garde';"&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example" style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="80139" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/80139_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;where&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;EM&gt;text&lt;/EM&gt;&lt;/STRONG&gt; - this is first column of data&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;&lt;EM&gt;number&lt;/EM&gt;&lt;/STRONG&gt;- this is second column of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="81776" class="jive-image image-4" height="34" src="https://community.qlik.com/legacyfs/online/82289_pastedImage_0.png" style="width: 96px; height: 34.1052631578947px;" width="96" /&gt;&lt;/P&gt;&lt;P&gt;Qlikview has specific way of storing data. Each field is represented by Text and Number data type called &lt;STRONG&gt;dual.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The Text format is visible to user and the Number is being used for calculation and sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG __jive_id="80434" class="image-9 jive-image" src="https://community.qlik.com/legacyfs/online/80434_pastedImage_5.png" style="width: auto; height: auto; float: right;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can imagine that each field has top Text layer and bottom&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (like salad in your Hamburger) Number layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example"&gt;This association works most of the time and for most of the data type but there are situation that we need to force this association to work the way we want.&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="example" style="text-align: center;"&gt;&lt;SPAN style="; font-size: 14pt; font-family: 'book antiqua', palatino;"&gt;&lt;STRONG&gt;&lt;EM&gt;Preparation&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #575757; text-decoration: underline;"&gt;Remember&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;A href="https://community.qlik.com/legacyfs/online/80770_ligtbulb.jpg"&gt;&lt;IMG __jive_id="80770" alt="ligtbulb.jpg" class="jive-image image-4" height="18" src="https://community.qlik.com/legacyfs/online/80770_ligtbulb.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-size: 10.6666679382324px; font-family: inherit;" width="16" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;To use the script below the csv file must be saved in the same folder that your qvd file&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="example"&gt;Qlik help&amp;nbsp; example contains two tables: inline and from csv file(sample attached)&lt;/P&gt;&lt;P class="example"&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;load dual ( string,numrep ) as DayOfWeek inline &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;[ string,numrep &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Monday,0 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Tuesday,1 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Wednesday,2 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Thursday,3 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Friday,4 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Saturday,5 &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;Sunday,6 ];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Directory;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;LOAD Date, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;afile.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600; font-size: 8pt;"&gt;&lt;STRONG&gt;//The last line&amp;nbsp; is not part of Qlikview help but you have to have this line to correctly load data into Qlikview&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="example"&gt;after Reload we have:&lt;/P&gt;&lt;P class="example"&gt;&lt;IMG __jive_id="80780" class="image-14 jive-image" src="https://community.qlik.com/legacyfs/online/80780_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P class="example"&gt;As you probably know when Values are on the &lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;EM&gt;left&lt;/EM&gt; hand side they represent &lt;SPAN style="text-decoration: underline;"&gt;Text&lt;/SPAN&gt; when on the &lt;EM&gt;right&lt;/EM&gt; N&lt;SPAN style="text-decoration: underline;"&gt;umber&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;So why we have Text on the right?&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;In the background (during load) the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;numbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; have been &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;EM&gt;&lt;STRONG&gt;associated&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp; with the text.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;So what you see is the &lt;SPAN style="color: #993300;"&gt;&lt;STRONG&gt;bun&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;what you do not is the underlay &lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;salad&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="80435" class="image-10 jive-image" src="https://community.qlik.com/legacyfs/online/80435_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px; text-align: center;"&gt;&lt;SPAN style="font-size: 18pt; font-family: 'book antiqua', palatino;"&gt;&lt;STRONG&gt;&lt;EM&gt;Practical use:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 1&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;The simple but maybe not the most&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;useful calculation&lt;/P&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;is to add Days of the week from our data&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;DayOfWeek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; vertical-align: top;"&gt;&lt;P class="Code" style="font-size: 13.3333330154419px;"&gt;&lt;IMG __jive_id="80782" class="jive-image image-15" src="https://community.qlik.com/legacyfs/online/80782_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Counting days of the week:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80789" class="jive-image image-20" src="https://community.qlik.com/legacyfs/online/80789_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(please use attached xlsx file and below Script)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A survey has been conducted and the data in Excel file looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80785" class="jive-image image-17" src="https://community.qlik.com/legacyfs/online/80785_pastedImage_10.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;What we want is to assign more meaningful description to the rate numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;mapping load * Inline&lt;/P&gt;&lt;P&gt;[ Rate,Value&lt;/P&gt;&lt;P&gt;Very Good,5&lt;/P&gt;&lt;P&gt;Good,4&lt;/P&gt;&lt;P&gt;Average,3&lt;/P&gt;&lt;P&gt;Bad,2&lt;/P&gt;&lt;P&gt;Very Bad,1&lt;/P&gt;&lt;P&gt; ]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sort:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Responds,&lt;/P&gt;&lt;P&gt;dual(Rate,ApplyMap('Data',Rate)) as Rate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Survey.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we can create &lt;EM&gt;Straight Table&lt;/EM&gt; or bar &lt;EM&gt;Bar Chart:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="80786" class="image-18 jive-image" src="https://community.qlik.com/legacyfs/online/80786_pastedImage_10.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;IMG __jive_id="80787" class="jive-image image-19" src="https://community.qlik.com/legacyfs/online/80787_pastedImage_11.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function can be use in many different ways.Please research our community to find more examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still feeling hungry?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8146"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-7963"&gt;Do you Qualify?- How to use QUALIFY statement&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-7969"&gt;How to use - Dimensionality()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8030"&gt;Missing Manual - GetFieldSelections() + Bonus Example&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8019"&gt;MaxString &amp;amp;amp; MinString - How to + examples&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8006"&gt;The second dimension... or how to use secondarydimensionality()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8150"&gt;Not authorized to view the specified document 8150&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;A href="https://community.qlik.com/docs/DOC-8106"&gt;How to use- Dual()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8009"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 14:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/ta-p/1477054</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-06T14:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477055#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;ADDRESS&gt;liked the interpretation in terms of &lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;top Text layer ( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Hamburger &lt;/SPAN&gt;) and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;bottom Number layer ( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;salad &lt;/SPAN&gt;). Queries clarified instantly. very good post!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/ADDRESS&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 06:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477055#M1596</guid>
      <dc:creator>mithilesh17</dc:creator>
      <dc:date>2015-04-02T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477056#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a very powerfull function that I think that would solve many problems&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 03:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477056#M1597</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2015-04-06T03:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477057#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. What about performance, which case uses less memory and is faster for calculations: two fields day_name and day_id or one dual field dayOfWeek?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 15:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477057#M1598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-21T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477058#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 16:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477058#M1599</guid>
      <dc:creator />
      <dc:date>2017-06-19T16:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477059#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477059#M1600</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2017-06-20T20:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477060#M1601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's very useful &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 08:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477060#M1601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477061#M1602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the best function of qlikview especially when dealing with Automation or Replication of reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the beautiful representation &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 06:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1477061#M1602</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2017-08-07T06:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use- Dual()</title>
      <link>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1581020#M1603</link>
      <description>&lt;P&gt;perfect explanation - works for qlik sense also.&amp;nbsp; I love the way you break it down and provide examples.&amp;nbsp; Very helpful indeed.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 12:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/How-to-use-Dual/tac-p/1581020#M1603</guid>
      <dc:creator>mjtaft2017</dc:creator>
      <dc:date>2019-05-16T12:13:34Z</dc:date>
    </item>
  </channel>
</rss>

