<?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: Can Concat function take 'Load Order' as an argument? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890097#M310157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;add a rowno() as id when you load the months&lt;/P&gt;&lt;P&gt;use id as sort weight&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jun 2015 15:23:56 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-06-01T15:23:56Z</dc:date>
    <item>
      <title>Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890096#M310156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;my function is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;=Concat(DISTINCT Month, ', ')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;Be default the result is sorted in an alphabetic order - from A to Z.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;I'd like to sort it by load order, so that Jan should come first.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;I've found out the general description. It is possible to add a sort_weight.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 16px;"&gt;concat([{set_expression}] [ distinct ] [ total [&amp;lt;fld {, fld}&amp;gt;]] expression[, delimiter[,&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 16px; color: #ff0000;"&gt; sort_weight]&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 16px;"&gt;]) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;But how exactly can define that &lt;SPAN style="color: #ff0000; font-family: Arial, sans-serif; font-size: 16px;"&gt;sort_weight should equal load order?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;Thank you in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: 'Arial',sans-serif;"&gt;Larisa&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 14:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890096#M310156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-01T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890097#M310157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;add a rowno() as id when you load the months&lt;/P&gt;&lt;P&gt;use id as sort weight&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890097#M310157</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-01T15:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890098#M310158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If month is created using a Month() function, I think this should also work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;=Concat(DISTINCT Month, ', ', Month)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;Because Month is a dual function which is both Numeric as well as string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt;Sunny&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890098#M310158</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T15:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890099#M310159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Actually, the name of the field in my model is the Russian equivalent of Month - Месяц.&lt;/P&gt;&lt;P&gt;I translated it in order to give you a clear example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm I right that then it won't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890099#M310159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-01T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890100#M310160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Name of the field doesn't matter, what matter is are you using a Month() function to calculate the month or is it a text string? If it is a text string then you can go with the solution provided by &lt;A _jive_internal="true" href="https://community.qlik.com/people/maxgro"&gt;Massimo Grossi&lt;/A&gt;‌, but if it is created using a month function then what I have suggested should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Massimo's solution will work in the second scenario also &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890100#M310160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890101#M310161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see your point. Actually, the names of the Months are of a string format because they should be in Russian.&lt;/P&gt;&lt;P&gt;Nevertherless, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890101#M310161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-01T16:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890102#M310162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem. The way to check, if you want to check, that if your Month Names are actually text string or dates is to create a chart with &lt;STRONG&gt;Month&lt;/STRONG&gt; as &lt;STRONG&gt;Dimension&lt;/STRONG&gt; and &lt;STRONG&gt;=Num(Month)&lt;/STRONG&gt; as &lt;STRONG&gt;Expression&lt;/STRONG&gt;. If you see numbers in the expression column then those are actually dates, if you see - then they are text strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890102#M310162</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T16:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890103#M310163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd be greatful if you could tell me how I can convert a text field to a month format on the backfront.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this way:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Current_Month as Month(Current_Month),&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advacne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Larisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890103#M310163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-01T16:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890104#M310164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;STRONG&gt;DUAL (MonthField, Pick(Match(MonthField,&lt;/STRONG&gt; 'List the name of the months in the correct order separated with commas (for example, Jan, Feb, Mar)'&lt;STRONG&gt;), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) as MonthField&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 16:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890104#M310164</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T16:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890105#M310165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;It works with a minor change&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;There should be quotation marks for each month name: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Jan', 'Feb', 'Mar'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890105#M310165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-01T17:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can Concat function take 'Load Order' as an argument?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890106#M310166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, I forgot to put the single quotes around it. Glad you caught my error &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 17:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Concat-function-take-Load-Order-as-an-argument/m-p/890106#M310166</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-01T17:47:03Z</dc:date>
    </item>
  </channel>
</rss>

