<?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: New Field created but not populating with value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11771#M776067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(floor(ArrivalDateTime)=Today()-1, ArrivalDateTime) as [YesterdayArrivalDateTime];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If that doesn't work, you might use num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(floor(ArrivalDateTime))&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 16:10:42 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2018-04-24T16:10:42Z</dc:date>
    <item>
      <title>New Field created but not populating with value</title>
      <link>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11770#M776066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very new to Qlik and data visualization is not my background but I am trying to learn more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field called ArrivalDateTime which is in the format mm/dd/yyyy hh:mm:ss.&lt;/P&gt;&lt;P&gt;I want to create a new Field, YesterdayArrivalDateTime, which only populates a value if the ArrivalDateTime has a date of yesterday.&lt;/P&gt;&lt;P&gt;The app and its data are on a daily refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried putting the following in the Data Load Editor:&lt;/P&gt;&lt;P&gt;If(floor(ArrivalDateTime=Today()-1), ArrivalDateTime) as [YesterdayArrivalDateTime];&lt;/P&gt;&lt;P&gt;The&amp;nbsp; code loads, and there is a new field called YesterdayArrivalDateTime, but all of it is null, even for data where the arrival date was yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a feeling I am missing something in the line of code but am not sure, could you give any pointers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11770#M776066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: New Field created but not populating with value</title>
      <link>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11771#M776067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(floor(ArrivalDateTime)=Today()-1, ArrivalDateTime) as [YesterdayArrivalDateTime];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If that doesn't work, you might use num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(floor(ArrivalDateTime))&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 16:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11771#M776067</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-04-24T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: New Field created but not populating with value</title>
      <link>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11772#M776068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! The first option worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 16:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/New-Field-created-but-not-populating-with-value/m-p/11772#M776068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-24T16:23:38Z</dc:date>
    </item>
  </channel>
</rss>

