<?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: combine two dimension into one dimension with crosstable in load script. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1704590#M54016</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to use the down below with dual.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Month Year"&amp;amp;'-'&amp;amp;"Year"&amp;nbsp; as "Month Year Generation",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried this script but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dual(Month("Month Year"),year("Year ")) as "Month Year Generation",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are doing this because to sort the data in Bar chart in either ascending or descending.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Consumed 2":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Load ID,&lt;/P&gt;&lt;P&gt;"ID B",&lt;/P&gt;&lt;P&gt;"Year",&lt;/P&gt;&lt;P&gt;"Type",&lt;/P&gt;&lt;P&gt;"Month Year",&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// dual(Month("Month Year"),year("Year ")) as "Month Year Generation",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"Month Year"&amp;amp;'-'&amp;amp;"Year"&amp;nbsp; as "&lt;STRONG&gt;Month Year Generation&lt;/STRONG&gt;",&lt;/P&gt;&lt;P&gt;"Quantity Fuel"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Resident Consumed&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;Drop table Consumed;&lt;/P&gt;&lt;P&gt;looking forward to your feedback.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 21:35:55 GMT</pubDate>
    <dc:creator>shahfaisalq</dc:creator>
    <dc:date>2020-05-22T21:35:55Z</dc:date>
    <item>
      <title>combine two dimension into one dimension with crosstable in load script.</title>
      <link>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1702995#M53853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please help with the following.&lt;/P&gt;&lt;P&gt;I am loading monthly data with a year using cross table function. the data is loading fine. But need a new month and year combine column as a measurement.&lt;/P&gt;&lt;P&gt;how will we combine the month and year field into one column, as shown in excel snapshot. whereas in Qlik we loaded them separately, which is not right.&lt;/P&gt;&lt;P&gt;Looking forward to positive feedback.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shahfaisalq_0-1589795709937.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33849iD37D486DCB0DD518/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shahfaisalq_0-1589795709937.png" alt="shahfaisalq_0-1589795709937.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shahfaisalq_1-1589795790236.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33850i6B68FA9DB86D377C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shahfaisalq_1-1589795790236.png" alt="shahfaisalq_1-1589795790236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shahfaisalq_2-1589795870020.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33851iEDD691828880566B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shahfaisalq_2-1589795870020.png" alt="shahfaisalq_2-1589795870020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1702995#M53853</guid>
      <dc:creator>shahfaisalq</dc:creator>
      <dc:date>2024-11-16T02:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: combine two dimension into one dimension with crosstable in load script.</title>
      <link>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1703008#M53857</link>
      <description>&lt;P&gt;You can do a "resident load" with your table.&lt;/P&gt;&lt;P&gt;Your table name is Consumed, so after your code (leave it as it is in your picture) you write:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Consumed 2":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Load ID,&lt;/P&gt;&lt;P&gt;"ID B",&lt;/P&gt;&lt;P&gt;"Year",&lt;/P&gt;&lt;P&gt;"Type",&lt;/P&gt;&lt;P&gt;"Month Year",&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Month Year"&amp;amp;'-'&amp;amp;"Year"&amp;nbsp; as "Desired column"&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;"Quantity Fuel" &lt;STRONG&gt;Resident Consumed&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;Drop table Consumed;&lt;/P&gt;&lt;P&gt;So you create a new table named "Consumed 2", call all the columns and create a new one concatenating the month an year, and you do that with the resident load. After that you can drop your previous table and that leaves you with only the "Consumed 2".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 11:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1703008#M53857</guid>
      <dc:creator>Gui_Approbato</dc:creator>
      <dc:date>2020-05-18T11:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: combine two dimension into one dimension with crosstable in load script.</title>
      <link>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1703018#M53860</link>
      <description>&lt;P&gt;It's working!&lt;/P&gt;&lt;P&gt;It helps&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 11:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1703018#M53860</guid>
      <dc:creator>shahfaisalq</dc:creator>
      <dc:date>2020-05-18T11:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: combine two dimension into one dimension with crosstable in load script.</title>
      <link>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1704590#M54016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to use the down below with dual.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Month Year"&amp;amp;'-'&amp;amp;"Year"&amp;nbsp; as "Month Year Generation",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried this script but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dual(Month("Month Year"),year("Year ")) as "Month Year Generation",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are doing this because to sort the data in Bar chart in either ascending or descending.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Consumed 2":&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Load ID,&lt;/P&gt;&lt;P&gt;"ID B",&lt;/P&gt;&lt;P&gt;"Year",&lt;/P&gt;&lt;P&gt;"Type",&lt;/P&gt;&lt;P&gt;"Month Year",&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// dual(Month("Month Year"),year("Year ")) as "Month Year Generation",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"Month Year"&amp;amp;'-'&amp;amp;"Year"&amp;nbsp; as "&lt;STRONG&gt;Month Year Generation&lt;/STRONG&gt;",&lt;/P&gt;&lt;P&gt;"Quantity Fuel"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Resident Consumed&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;Drop table Consumed;&lt;/P&gt;&lt;P&gt;looking forward to your feedback.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 21:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/combine-two-dimension-into-one-dimension-with-crosstable-in-load/m-p/1704590#M54016</guid>
      <dc:creator>shahfaisalq</dc:creator>
      <dc:date>2020-05-22T21:35:55Z</dc:date>
    </item>
  </channel>
</rss>

