<?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: today so far compared with yesterday same time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1631412#M732809</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to solve it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;today&lt;/FONT&gt;&lt;FONT size="1"&gt;()-1&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;and&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;AdmissionDateMonth&lt;/FONT&gt;&lt;FONT size="1"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;RunDateTime&lt;/FONT&gt;&lt;FONT size="1"&gt;-1&lt;BR /&gt;, &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;but this doesn't work In a text object box - do you know why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 10:54:46 GMT</pubDate>
    <dc:creator>qliklizzy</dc:creator>
    <dc:date>2019-10-04T10:54:46Z</dc:date>
    <item>
      <title>today so far compared with yesterday same time</title>
      <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630933#M732805</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;Hi&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;I want to calculate yesterdays attendances against today so far.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;today so far in my live feed is just&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt; count(unitnumber) &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#0000ff"&gt;&lt;FONT color="#000000"&gt;but for yesterday I can pull the date through and it counts all of yesterday; but if its 10am I need the count up until then.&amp;nbsp;&amp;nbsp; I have another field called&lt;/FONT&gt; RunTime - &lt;FONT color="#000000"&gt;how do I combine them into the below?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#0000ff"&gt;if&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;AdmDate&lt;/FONT&gt;=&lt;FONT color="#0000ff"&gt;today&lt;/FONT&gt;()-1 , &lt;FONT color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="3"&gt;)&lt;/FONT&gt;&amp;nbsp;&amp;nbsp; = yesterdays date&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;Liz&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630933#M732805</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2024-11-16T19:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: today so far compared with yesterday same time</title>
      <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630938#M732806</link>
      <description>&lt;P&gt;if(AdmDate=today()-1 and Runtime=num(hour(now())) , AdmDate)&lt;/P&gt;&lt;P&gt;makesure runtime has number value from 0 to 24, else adjust accordingly either on right or left&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 09:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630938#M732806</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-10-03T09:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: today so far compared with yesterday same time</title>
      <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630961#M732807</link>
      <description>&lt;P&gt;hello again,&lt;/P&gt;&lt;P&gt;no it didn't work what do you mean 0-24?&lt;/P&gt;&lt;P&gt;the run date time is 03/10/2019 09:50:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 10:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630961#M732807</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2019-10-03T10:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: today so far compared with yesterday same time</title>
      <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630964#M732808</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I changed it to this&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;today&lt;/FONT&gt;&lt;FONT size="1"&gt;()-1 &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;and&lt;/FONT&gt; &lt;FONT size="1" color="#0000ff"&gt;hour&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;RunDateTime&lt;/FONT&gt;&lt;FONT size="1"&gt;)=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;num&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;hour&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;now&lt;/FONT&gt;&lt;FONT size="1"&gt;())) , &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;and it return yesterdays total still - is this because its in the dimension, should it go elsewhere&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;because the hour now does = hour yesterday, so my sum needs to only sum from midnight to 11 but its not.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 10:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1630964#M732808</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2019-10-03T10:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: today so far compared with yesterday same time</title>
      <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1631412#M732809</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to solve it&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;today&lt;/FONT&gt;&lt;FONT size="1"&gt;()-1&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;and&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;AdmissionDateMonth&lt;/FONT&gt;&lt;FONT size="1"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;RunDateTime&lt;/FONT&gt;&lt;FONT size="1"&gt;-1&lt;BR /&gt;, &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;but this doesn't work In a text object box - do you know why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 10:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1631412#M732809</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2019-10-04T10:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: today so far compared with yesterday same time</title>
      <link>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1631419#M732810</link>
      <description>&lt;P&gt;I've done it!&amp;nbsp;&amp;nbsp; bit of endless googling before and after posting on here never quite finding the answer but played with it and got the correct output!&amp;nbsp; - thanks for you help&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;distinct&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;AdmDate&lt;/FONT&gt;&lt;FONT size="1"&gt;=&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;today&lt;/FONT&gt;&lt;FONT size="1"&gt;()-1 &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;and&lt;/FONT&gt; &lt;FONT size="1" color="#800000"&gt;AdmissionDateMonth&lt;/FONT&gt;&lt;FONT size="1"&gt; &amp;lt; &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;RunDateTime&lt;/FONT&gt;&lt;FONT size="1"&gt;-1, &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;UnitNumberMonth&lt;/FONT&gt;&lt;FONT size="1"&gt;))) &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 11:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/today-so-far-compared-with-yesterday-same-time/m-p/1631419#M732810</guid>
      <dc:creator>qliklizzy</dc:creator>
      <dc:date>2019-10-04T11:10:12Z</dc:date>
    </item>
  </channel>
</rss>

