<?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: concat two firstsortedvalue expression. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735198#M1072977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For something like that, you don't want to use the concat function. The concat function will cycle through a field and concat all the values together. What you want to do is combine the two expressions into one value. Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=FirstSortedValue([DWH_IM_MONTH],-AGGR(SUM(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH,DWH_IM_DATE_YEAR)) &amp;amp; '&amp;amp;'&amp;nbsp; &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FirstSortedValue([DWH_IM_DATE_YEAR] , -AGGR(SUM(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH,DWH_IM_DATE_YEAR))&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;&lt;BR /&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;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2014 17:32:30 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2014-08-07T17:32:30Z</dc:date>
    <item>
      <title>concat two firstsortedvalue expression.</title>
      <link>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735197#M1072976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to combine two expression come as a single filed.&lt;/P&gt;&lt;P&gt;concat( FirstSortedValue([DWH_IM_MONTH],-AGGR(SUM(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH,DWH_IM_DATE_YEAR)) , FirstSortedValue([DWH_IM_DATE_YEAR] , -AGGR(SUM(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH,DWH_IM_DATE_YEAR)),'&amp;amp;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone tell me whats wrong with this Formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 17:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735197#M1072976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-07T17:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: concat two firstsortedvalue expression.</title>
      <link>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735198#M1072977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For something like that, you don't want to use the concat function. The concat function will cycle through a field and concat all the values together. What you want to do is combine the two expressions into one value. Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=FirstSortedValue([DWH_IM_MONTH],-AGGR(SUM(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH,DWH_IM_DATE_YEAR)) &amp;amp; '&amp;amp;'&amp;nbsp; &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FirstSortedValue([DWH_IM_DATE_YEAR] , -AGGR(SUM(SALES_IM_QTY),DWH_SKU_REF_NO,DWH_IM_MONTH,DWH_IM_DATE_YEAR))&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;&lt;BR /&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;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 17:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735198#M1072977</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-08-07T17:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: concat two firstsortedvalue expression.</title>
      <link>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735199#M1072978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Jermiah, worked absolutely fine, Really appreciate your quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 08:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concat-two-firstsortedvalue-expression/m-p/735199#M1072978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-08T08:56:41Z</dc:date>
    </item>
  </channel>
</rss>

