<?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: Help with dual in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431456#M160853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dual(WeekStart(date(oDate))&amp;amp; '-'&amp;nbsp; &amp;amp;WeekEnd(date(oDate)),WeekEnd(date(oDate)) &lt;SPAN style="text-decoration: line-through;"&gt;)&lt;/SPAN&gt; as WEEK&lt;/P&gt;&lt;P&gt;I put ) in right place&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2012 19:39:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-12-12T19:39:43Z</dc:date>
    <item>
      <title>Help with dual</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431451#M160848</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;I have expression&lt;/P&gt;&lt;P&gt;WeekStart(date(oDate))&amp;amp; '-'&amp;nbsp; &amp;amp;WeekEnd(date(oDate)) as WEEK&amp;nbsp; result looks like 01/01/2012 - 01/07/2012, etc.&lt;/P&gt;&lt;P&gt;I need to sort varaible WEEK.&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 18:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431451#M160848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-12T18:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dual</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431452#M160849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the dual function to create a field with both a textual and a numeric value. That way you can sort it numerically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual(WeekStart(date(oDate))&amp;amp; '-'&amp;nbsp; &amp;amp;WeekEnd(date(oDate),WeekEnd(date(oDate))) as WEEK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 19:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431452#M160849</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-12T19:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dual</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431453#M160850</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual(WeekStart(date(oDate))&amp;amp; '-'&amp;nbsp; &amp;amp;WeekEnd(date(oDate),WeekStart(date(oDate))) as WEEK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post a sample file? if its not satisfy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 19:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431453#M160850</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-12-12T19:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dual</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431454#M160851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like both your answers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I don't understand how works dual function. &lt;/P&gt;&lt;P&gt;this my expression WeekStart(date(oDate))&amp;amp; '-'&amp;nbsp; &amp;amp;WeekEnd(date(oDate)) as WEEK, which gives me WEEK varible. (it's string) I can sort only by text. I need to create something to match it with number.&lt;/P&gt;&lt;P&gt;when I use your expression, i get error dual takes 2 parameters.&lt;/P&gt;&lt;P&gt;what's the second parameter should I use?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 19:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431454#M160851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-12T19:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dual</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431455#M160852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank, &lt;/P&gt;&lt;P&gt;I got it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 19:38:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431455#M160852</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-12T19:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dual</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431456#M160853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dual(WeekStart(date(oDate))&amp;amp; '-'&amp;nbsp; &amp;amp;WeekEnd(date(oDate)),WeekEnd(date(oDate)) &lt;SPAN style="text-decoration: line-through;"&gt;)&lt;/SPAN&gt; as WEEK&lt;/P&gt;&lt;P&gt;I put ) in right place&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 19:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-dual/m-p/431456#M160853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-12-12T19:39:43Z</dc:date>
    </item>
  </channel>
</rss>

