<?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: Qlikview Scripting : crosstable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991850#M966680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. Specify that you now have two columns at the beginning of the file that shouldn't be transposed.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Script :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dabord:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CROSSTABLE (Date, Nombre&lt;STRONG&gt;,2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD 'P ' &amp;amp; RowNo() AS Propriété,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [..\file_after_add_dimension.xlsx](ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Perhaps you can rename the weekend field so it gets the same name as the other date field. I don't know if that makes sense in your data model. If it doesn't you can try adding a Select in Field action to the OnSelect field trigger of the Semaine field to select the value you want in the other field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Oct 2015 14:38:14 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-10-04T14:38:14Z</dc:date>
    <item>
      <title>Qlikview Scripting : crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991849#M966679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- first Question :&lt;/P&gt;&lt;P&gt;I have a xls file, it contains dates and values. in my script, we define the week, the weekDay and the weekYear, &lt;SPAN lang="en"&gt;they are calculated from the values of dates in the xls file&lt;/SPAN&gt;,&amp;nbsp; find attached( file_before_add_dimension.xlsx)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to modify my xls file, I need to add a dimension Resource before the dimension dates. i'm now in Qlikview scripting, and i don't know how I can add this dimension in my script.&amp;nbsp; find attached ( file_after_add_dimension.xlsx)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script : &lt;/P&gt;&lt;P&gt;Dabord:&lt;/P&gt;&lt;P&gt;CROSSTABLE (Date, Nombre)&lt;/P&gt;&lt;P&gt;LOAD 'P ' &amp;amp; RowNo() AS Propriété,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM [..\file_before_add_dimension.xlsx](ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Données:&lt;/P&gt;&lt;P&gt;NOCONCATENATE&lt;/P&gt;&lt;P&gt;LOAD Propriété, Date(num#(Date)) AS Date, Nombre&lt;/P&gt;&lt;P&gt;RESIDENT Dabord;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Dabord;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendrier:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT Date,&lt;/P&gt;&lt;P&gt;Week(Date) as Semaine,&lt;/P&gt;&lt;P&gt;WeekDay(Date) as Semaine_Jour,&lt;/P&gt;&lt;P&gt;WeekName(Date) as Semaine_Nom,&lt;/P&gt;&lt;P&gt;WeekYear(Date) as Semaine_Année&lt;/P&gt;&lt;P&gt;RESIDENT Données;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- Second question :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make link between this file after_add_dimension (after loading a new script) and another file. The new file contains Resource, some columns and Week End.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make link between the 2 files by the column Resource. When i click on Semaine (Week (Date)) on the script i have a list of days by date in Date, but we must to select a value in Week End, i need to find this value atomatically.&lt;/P&gt;&lt;P&gt;for exemple : when i click on Semaine 36, i have the the list of date, and the select must be done automatically for the Week End .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="link_between_Date_and Week End.PNG" class="jive-image image-1" src="/legacyfs/online/100899_link_between_Date_and Week End.PNG" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to find that Semanie 36, it corresponds to values 01/09/2015 to 06/09/2015 and it corresponds to Week End 06-sep-15. ( now i have not this information, i need to click on 06-sep-15).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need really your help, thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 14:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991849#M966679</guid>
      <dc:creator />
      <dc:date>2015-10-04T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Scripting : crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991850#M966680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. Specify that you now have two columns at the beginning of the file that shouldn't be transposed.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Script :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dabord:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CROSSTABLE (Date, Nombre&lt;STRONG&gt;,2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD 'P ' &amp;amp; RowNo() AS Propriété,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [..\file_after_add_dimension.xlsx](ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. Perhaps you can rename the weekend field so it gets the same name as the other date field. I don't know if that makes sense in your data model. If it doesn't you can try adding a Select in Field action to the OnSelect field trigger of the Semaine field to select the value you want in the other field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 14:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991850#M966680</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-10-04T14:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Scripting : crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991851#M966682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thank you Gysbert for you response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;it works for the first, i specify that you have 2 columns. I will try what you propose for the second question.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 14:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Scripting-crosstable/m-p/991851#M966682</guid>
      <dc:creator />
      <dc:date>2015-10-04T14:56:56Z</dc:date>
    </item>
  </channel>
</rss>

