<?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: Dual total in YTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784876#M1209920</link>
    <description>&lt;P&gt;I am having set data of 4 teams and 4 weeks. I need to add target of particular team. So i had used TOTAL.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 17:47:31 GMT</pubDate>
    <dc:creator>Saro_2306</dc:creator>
    <dc:date>2021-02-22T17:47:31Z</dc:date>
    <item>
      <title>Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784650#M1209894</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to combine below 2 formulae as one formulae for calculation Target (i.e Target = Prod Units / Working Days). it should be shown in Bar chart with dimension User Name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For all users Target should be same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;sum({&amp;lt;[Week Num]={"&amp;gt;=$(=(week(Yearstart(Max([Week Num]))))) &amp;lt;=$(=Max([Week Num]))"}&amp;gt;} TOTAL&amp;lt;Desk&amp;gt;[Production Units])&lt;/FONT&gt;&lt;SPAN&gt; ,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;sum({&amp;lt;[Week Num]={"&amp;gt;=$(=(week(Yearstart(Max([Week Num]))))) &amp;lt;=$(=Max([Week Num]))"}&amp;gt;} TOTAL&amp;lt;Desk&amp;gt;[Working Days Count])&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Need your help. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 12:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784650#M1209894</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-02-22T12:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784743#M1209904</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127683"&gt;@Saro_2306&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Maybe this:&lt;BR /&gt;=sum( {&amp;lt; [Week Num] = {"&amp;gt;=$(=(week(Yearstart(Max([Week Num])))))&amp;lt;=$(=Max([Week Num]))"}&amp;gt;} TOTAL&amp;lt;Desk&amp;gt; [Production Units]/[Working Days Count] )&lt;/P&gt;&lt;P&gt;I hope it can help.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 14:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784743#M1209904</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2021-02-22T14:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784752#M1209908</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/112"&gt;@agigliotti&lt;/a&gt;&amp;nbsp; Not working&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 14:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784752#M1209908</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-02-22T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784774#M1209913</link>
      <description>&lt;P&gt;&lt;SPAN&gt;why do you need a total for &amp;lt;Desc&amp;gt; field ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you have the user name as dimension and the result is the same for all users, try the below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=sum( {&amp;lt; [Week Num] = {"&amp;gt;=$(=(week(Yearstart(Max([Week Num])))))&amp;lt;=$(=Max([Week Num]))"}&amp;gt;} TOTAL [Production Units]/[Working Days Count] )&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 14:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784774#M1209913</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2021-02-22T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784876#M1209920</link>
      <description>&lt;P&gt;I am having set data of 4 teams and 4 weeks. I need to add target of particular team. So i had used TOTAL.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 17:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1784876#M1209920</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-02-22T17:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785064#M1209947</link>
      <description>&lt;P&gt;could you explain what is your actual result and the expected one?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 08:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785064#M1209947</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2021-02-23T08:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785074#M1209949</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/112"&gt;@agigliotti&lt;/a&gt;&amp;nbsp; My expected result and sample data details are available in attached excel sheet&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 08:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785074#M1209949</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-02-23T08:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785374#M1209984</link>
      <description>&lt;P&gt;you can use this script:&lt;/P&gt;&lt;P&gt;a:&lt;BR /&gt;LOAD [Week Num],&lt;BR /&gt;[Team Name],&lt;BR /&gt;[User Name],&lt;BR /&gt;[Production Units],&lt;BR /&gt;[Working Days]&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Andrea\Downloads\Example Data.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is dati);&lt;/P&gt;&lt;P&gt;b:&lt;BR /&gt;load *,&lt;BR /&gt;if( [Team Name] = Previous([Team Name]), Target+Previous(TargetACC), Target ) as TargetNEW;&lt;BR /&gt;load *,&lt;BR /&gt;if( [Team Name] = Previous([Team Name]), Target+Previous(Target), Target ) as TargetACC;&lt;BR /&gt;load&lt;BR /&gt;[Team Name],&lt;BR /&gt;[Week Num],&lt;BR /&gt;sum([Production Units])/sum([Working Days]) as Target&lt;BR /&gt;Resident a Group by [Team Name],[Week Num] Order by [Team Name],[Week Num];&lt;/P&gt;&lt;P&gt;left join(b)&lt;BR /&gt;LOAD [Week Num],&lt;BR /&gt;[Team Name],&lt;BR /&gt;[User Name] Resident a;&lt;/P&gt;&lt;P&gt;drop Tables a;&lt;/P&gt;&lt;P&gt;finally your target is TargetNEW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="agigliotti_0-1614093051063.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49702i6B2E8F478E026E6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="agigliotti_0-1614093051063.png" alt="agigliotti_0-1614093051063.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 15:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785374#M1209984</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2021-02-23T15:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dual total in YTD</title>
      <link>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785697#M1210024</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/112"&gt;@agigliotti&lt;/a&gt;&amp;nbsp; thanks for your effort. but given data is not my source data. Production units and Working days count are derived by sum() expression. I need set analysis for to get desired output and should be shown in bar chart.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 09:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dual-total-in-YTD/m-p/1785697#M1210024</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-02-24T09:48:53Z</dc:date>
    </item>
  </channel>
</rss>

