<?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: Report recreated from prj folder has no information about document variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1756170#M453783</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I reloaded my report from prj folder and stored variables into a qvd file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;there are so many variables in my report. For chart dimensions I use =$(vDim.RptPeriod) . The variable definition is as below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;vDim.RptPeriod = if(Period_Key&amp;gt;=$(vMinRptPeriod) and Period_Key&amp;lt;=$(vMaxRptPeriod), Period)&lt;/P&gt;&lt;P&gt;vMinRptPeriod = Max(RptPeriod_Key)&lt;/P&gt;&lt;P&gt;vMinRptPeriod = FieldValue('RptPeriod_Key', FieldIndex('RptPeriod_Key', $(vMaxRptPeriod)) + 5)&lt;/P&gt;&lt;P&gt;As I am loading the variables from prj folder, the variable has changed to below format :&amp;nbsp;&lt;/P&gt;&lt;P&gt;vDim.RptPeriod&amp;nbsp; =&amp;nbsp; if(Period_Key&amp;gt;==FieldValue('RptPeriod_Key', FieldIndex('RptPeriod_Key', =Max(RptPeriod_Key)) + 5)&lt;BR /&gt;and Period_Key&amp;lt;==Max(RptPeriod_Key), Period)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any option where i can store my variables in the way they are exactly in the main report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 10:36:24 GMT</pubDate>
    <dc:creator>krishnajamylavarapu16</dc:creator>
    <dc:date>2020-10-27T10:36:24Z</dc:date>
    <item>
      <title>Report recreated from prj folder has no information about document variables</title>
      <link>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1753778#M453693</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;We re-created our QlikView report from prj folder, and the report is missing data for document level variables.&lt;/P&gt;&lt;P&gt;Report reloaded the data for the variables defined in the script level. Is there any way to get the values defined for the document level defined variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 13:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1753778#M453693</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2020-10-19T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Report recreated from prj folder has no information about document variables</title>
      <link>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1753804#M453695</link>
      <description>&lt;P&gt;Not from the prj files, variables are considered as data and are therfore not stored in the Prjs. If you have access to the original qvw file you should be able to extract the variables from it (do a Google search to figure out how to).&amp;nbsp;&lt;/P&gt;&lt;P&gt;A best practice for the future is to define all variables in the script code. Then the variables can be recreated if the qvw is lost, get corrupted or if someone clears the application data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 15:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1753804#M453695</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-19T15:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Report recreated from prj folder has no information about document variables</title>
      <link>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1755863#M453774</link>
      <description>&lt;P&gt;Thanks for the response Vegar! It worked for me&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 12:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1755863#M453774</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2020-10-26T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Report recreated from prj folder has no information about document variables</title>
      <link>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1756170#M453783</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I reloaded my report from prj folder and stored variables into a qvd file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;there are so many variables in my report. For chart dimensions I use =$(vDim.RptPeriod) . The variable definition is as below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;vDim.RptPeriod = if(Period_Key&amp;gt;=$(vMinRptPeriod) and Period_Key&amp;lt;=$(vMaxRptPeriod), Period)&lt;/P&gt;&lt;P&gt;vMinRptPeriod = Max(RptPeriod_Key)&lt;/P&gt;&lt;P&gt;vMinRptPeriod = FieldValue('RptPeriod_Key', FieldIndex('RptPeriod_Key', $(vMaxRptPeriod)) + 5)&lt;/P&gt;&lt;P&gt;As I am loading the variables from prj folder, the variable has changed to below format :&amp;nbsp;&lt;/P&gt;&lt;P&gt;vDim.RptPeriod&amp;nbsp; =&amp;nbsp; if(Period_Key&amp;gt;==FieldValue('RptPeriod_Key', FieldIndex('RptPeriod_Key', =Max(RptPeriod_Key)) + 5)&lt;BR /&gt;and Period_Key&amp;lt;==Max(RptPeriod_Key), Period)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any option where i can store my variables in the way they are exactly in the main report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 10:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1756170#M453783</guid>
      <dc:creator>krishnajamylavarapu16</dc:creator>
      <dc:date>2020-10-27T10:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Report recreated from prj folder has no information about document variables</title>
      <link>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1756466#M453806</link>
      <description>&lt;P&gt;Believe you need to use SET or LET statements in the load script as Vegar mentioned, this is the third post I have run across today regarding prj files and variable values, weird, but hopefully that is the piece you have been missing:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Let.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Let.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Set.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptRegularStatements/Set.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am going to mark Vegar's post as the solution, as he was correct on everything.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 20:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Report-recreated-from-prj-folder-has-no-information-about/m-p/1756466#M453806</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-10-27T20:53:49Z</dc:date>
    </item>
  </channel>
</rss>

