<?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: Using Monthstart and Monthend for hours available in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Using-Monthstart-and-Monthend-for-hours-available/m-p/1964831#M22947</link>
    <description>&lt;P&gt;It's quite hard to guess what your problem might be when you don't provide any sample data and you don't explain what the problem is, only that "the result is incorrect". What is the result? What would the expected result be given a set of sample data? Are you getting the expected value when you use each part of the expression separately or are one or more of them not the expected value? Also, are you sure you're correct in subtracting the first day of the month in the first half from the last day of the month in the second part? Wouldn't it be the other way around?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2022 20:13:50 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-08-04T20:13:50Z</dc:date>
    <item>
      <title>Using Monthstart and Monthend for hours available</title>
      <link>https://community.qlik.com/t5/Management-Governance/Using-Monthstart-and-Monthend-for-hours-available/m-p/1964809#M22945</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;
&lt;P&gt;I'm new to Qlikview and I have a question about how to calculate Available Hours for a service. In this case, I need to know the total number of hours available on the day of a service. I developed this expression:&lt;BR /&gt;NR_EQP*24*MonthStart(MAX(DT_BUY_FIRSTDAY))- MONTHEND(MIN(DT_BUY)) AS HRS_AVAILABLE&lt;/P&gt;
&lt;P&gt;Where, NR_EQP is my equipment. 24 is the total hours and MonthStart(DT_BUY_FIRSTDAY) is the first day of the month. And, Monthend(DT_BUY) the last day of the month. But the result is incorrect.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 18:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Using-Monthstart-and-Monthend-for-hours-available/m-p/1964809#M22945</guid>
      <dc:creator>lucasx15</dc:creator>
      <dc:date>2022-08-04T18:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using Monthstart and Monthend for hours available</title>
      <link>https://community.qlik.com/t5/Management-Governance/Using-Monthstart-and-Monthend-for-hours-available/m-p/1964831#M22947</link>
      <description>&lt;P&gt;It's quite hard to guess what your problem might be when you don't provide any sample data and you don't explain what the problem is, only that "the result is incorrect". What is the result? What would the expected result be given a set of sample data? Are you getting the expected value when you use each part of the expression separately or are one or more of them not the expected value? Also, are you sure you're correct in subtracting the first day of the month in the first half from the last day of the month in the second part? Wouldn't it be the other way around?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 20:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Using-Monthstart-and-Monthend-for-hours-available/m-p/1964831#M22947</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-08-04T20:13:50Z</dc:date>
    </item>
  </channel>
</rss>

