<?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 FieldIndex values change after updating data set? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FieldIndex-values-change-after-updating-data-set/m-p/66939#M511661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with understanding how the FieldIndex-funcion works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a QV-application, where I used a line chart to show some data based on a variable faculty. &lt;/P&gt;&lt;P&gt;The variable always has 5 different values - because of 5 faculties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the colors tab in the line chart I used my predefines colors to control the colors: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vGrafFarve1), $(vGrafFarve2),...,$(vGrafFarve5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used the "use persistent colors" to make sure, that the faculties hold their value, when filtering the data on faculty in a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I made the application I noticed&amp;nbsp; that the faculty of ex. humanities always had the value of $(vGrafFarve2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I could make this categorization to my line charts:&lt;/P&gt;&lt;P&gt;(The dots hold the calculated colors $(vGrafFarve1),...,$(vGrafFarve5)).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fakultet.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192731_fakultet.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm updating the application with the newest data and find that the colors in the line charts doesn't match my categories shown above any longer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read that it has something to do with how Qlikview reads the dimension values.&lt;/P&gt;&lt;P&gt;I checked the FieldIndex value on my 5 faculty values in the faculty variable before and after the update of the application.&lt;/P&gt;&lt;P&gt;I found that 3 of the 5 values had changed Fieldindex value, which obviously explains why my categorization doesn't match the colors in the line charts any longer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I would like to understand my the FieldIndex values changed, just because I loaded data for the newest year into the application? The faculty variable still only has 5 different values - and they still have the same names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to understand it, so I don't have the same problem the next time I have to update the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 15:29:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-07T15:29:58Z</dc:date>
    <item>
      <title>FieldIndex values change after updating data set?</title>
      <link>https://community.qlik.com/t5/QlikView/FieldIndex-values-change-after-updating-data-set/m-p/66939#M511661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with understanding how the FieldIndex-funcion works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a QV-application, where I used a line chart to show some data based on a variable faculty. &lt;/P&gt;&lt;P&gt;The variable always has 5 different values - because of 5 faculties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the colors tab in the line chart I used my predefines colors to control the colors: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vGrafFarve1), $(vGrafFarve2),...,$(vGrafFarve5)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used the "use persistent colors" to make sure, that the faculties hold their value, when filtering the data on faculty in a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I made the application I noticed&amp;nbsp; that the faculty of ex. humanities always had the value of $(vGrafFarve2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I could make this categorization to my line charts:&lt;/P&gt;&lt;P&gt;(The dots hold the calculated colors $(vGrafFarve1),...,$(vGrafFarve5)).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="fakultet.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192731_fakultet.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm updating the application with the newest data and find that the colors in the line charts doesn't match my categories shown above any longer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read that it has something to do with how Qlikview reads the dimension values.&lt;/P&gt;&lt;P&gt;I checked the FieldIndex value on my 5 faculty values in the faculty variable before and after the update of the application.&lt;/P&gt;&lt;P&gt;I found that 3 of the 5 values had changed Fieldindex value, which obviously explains why my categorization doesn't match the colors in the line charts any longer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now I would like to understand my the FieldIndex values changed, just because I loaded data for the newest year into the application? The faculty variable still only has 5 different values - and they still have the same names?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to understand it, so I don't have the same problem the next time I have to update the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldIndex-values-change-after-updating-data-set/m-p/66939#M511661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T15:29:58Z</dc:date>
    </item>
  </channel>
</rss>

