<?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 Unable to Load Max Year data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573433#M442333</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can some one please help me with script to load only MAX year data. Here is the script i used but not woking.&lt;/P&gt;&lt;P&gt;When I used variable i am getting '&lt;SPAN&gt;Field 'a' not found&lt;/SPAN&gt;' error.&lt;/P&gt;&lt;P&gt;TempFundAssetUS:&lt;BR /&gt;LOAD&lt;BR /&gt;max(year(PERDT)) as MaxYearlyAUM&lt;BR /&gt;FROM [lib://GPG_QVD/BrightScope\SI_AUM_US.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;//Let vMin = peek('mini',0,'TMP');&lt;/P&gt;&lt;P&gt;let vMaxYear = MaxYearlyAUM;&lt;/P&gt;&lt;P&gt;//drop table TempFundAssetUS;&lt;/P&gt;&lt;P&gt;FundAssetUS:&lt;BR /&gt;LOAD&lt;BR /&gt;FNDNU as "Fund No",&lt;BR /&gt;NETASTUSDAM as [Asset Usd],&lt;BR /&gt;PERDT as "Period Date",&lt;BR /&gt;num(Month(PERDT))as "Monthly AUM",&lt;BR /&gt;year(PERDT) as "Yearly AUM",&lt;BR /&gt;PERNU as Period,&lt;BR /&gt;CUSIPNU as Cusip_nu,&lt;BR /&gt;FNDNM as "Fund Name",&lt;BR /&gt;MRNCTGNM as "MorningStar Category",&lt;BR /&gt;TKRCD as Ticker,&lt;BR /&gt;IDXFNDDSCTX as "Index Fund",&lt;BR /&gt;If(IDXFNDDSCTX = 'No','Active','Passive') as "Active and Passive Aseet Funds",&lt;BR /&gt;MGRCMYNM as "Manager Name"&lt;BR /&gt;FROM [lib://GPG_QVD/BrightScope\SI_AUM_US.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;where Year(PERDT)= $(vMaxYear)&lt;BR /&gt;;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:59:00 GMT</pubDate>
    <dc:creator>vidyasagar159</dc:creator>
    <dc:date>2024-11-16T20:59:00Z</dc:date>
    <item>
      <title>Unable to Load Max Year data</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573433#M442333</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can some one please help me with script to load only MAX year data. Here is the script i used but not woking.&lt;/P&gt;&lt;P&gt;When I used variable i am getting '&lt;SPAN&gt;Field 'a' not found&lt;/SPAN&gt;' error.&lt;/P&gt;&lt;P&gt;TempFundAssetUS:&lt;BR /&gt;LOAD&lt;BR /&gt;max(year(PERDT)) as MaxYearlyAUM&lt;BR /&gt;FROM [lib://GPG_QVD/BrightScope\SI_AUM_US.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;//Let vMin = peek('mini',0,'TMP');&lt;/P&gt;&lt;P&gt;let vMaxYear = MaxYearlyAUM;&lt;/P&gt;&lt;P&gt;//drop table TempFundAssetUS;&lt;/P&gt;&lt;P&gt;FundAssetUS:&lt;BR /&gt;LOAD&lt;BR /&gt;FNDNU as "Fund No",&lt;BR /&gt;NETASTUSDAM as [Asset Usd],&lt;BR /&gt;PERDT as "Period Date",&lt;BR /&gt;num(Month(PERDT))as "Monthly AUM",&lt;BR /&gt;year(PERDT) as "Yearly AUM",&lt;BR /&gt;PERNU as Period,&lt;BR /&gt;CUSIPNU as Cusip_nu,&lt;BR /&gt;FNDNM as "Fund Name",&lt;BR /&gt;MRNCTGNM as "MorningStar Category",&lt;BR /&gt;TKRCD as Ticker,&lt;BR /&gt;IDXFNDDSCTX as "Index Fund",&lt;BR /&gt;If(IDXFNDDSCTX = 'No','Active','Passive') as "Active and Passive Aseet Funds",&lt;BR /&gt;MGRCMYNM as "Manager Name"&lt;BR /&gt;FROM [lib://GPG_QVD/BrightScope\SI_AUM_US.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;where Year(PERDT)= $(vMaxYear)&lt;BR /&gt;;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573433#M442333</guid>
      <dc:creator>vidyasagar159</dc:creator>
      <dc:date>2024-11-16T20:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Load Max Year data</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573439#M442334</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;TempFundAssetUS:
LOAD
max(year(PERDT)) as MaxYearlyAUM
FROM [lib://GPG_QVD/BrightScope\SI_AUM_US.qvd]
(qvd);

//Let vMin = peek('mini',0,'TMP');

let vMaxYear = &lt;FONT color="#FF0000"&gt;Peek('MaxYearlyAUM')&lt;/FONT&gt;;

//drop table TempFundAssetUS;

FundAssetUS:
LOAD
FNDNU as "Fund No",
NETASTUSDAM as [Asset Usd],
PERDT as "Period Date",
num(Month(PERDT))as "Monthly AUM",
year(PERDT) as "Yearly AUM",
PERNU as Period,
CUSIPNU as Cusip_nu,
FNDNM as "Fund Name",
MRNCTGNM as "MorningStar Category",
TKRCD as Ticker,
IDXFNDDSCTX as "Index Fund",
If(IDXFNDDSCTX = 'No','Active','Passive') as "Active and Passive Aseet Funds",
MGRCMYNM as "Manager Name"
FROM [lib://GPG_QVD/BrightScope\SI_AUM_US.qvd]
(qvd)
where Year(PERDT)= $(vMaxYear)
;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Apr 2019 16:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573439#M442334</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-04-25T16:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Load Max Year data</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573440#M442335</link>
      <description>&lt;P&gt;I got found the solution. All i need to do is modify variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let vMaxYear = peek('MaxYearlyAUM',0,'TempFundAssetUS');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Vidya&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 16:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573440#M442335</guid>
      <dc:creator>vidyasagar159</dc:creator>
      <dc:date>2019-04-25T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Load Max Year data</title>
      <link>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573441#M442336</link>
      <description>&lt;P&gt;Thanks Sunny.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 16:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unable-to-Load-Max-Year-data/m-p/1573441#M442336</guid>
      <dc:creator>vidyasagar159</dc:creator>
      <dc:date>2019-04-25T16:33:36Z</dc:date>
    </item>
  </channel>
</rss>

