<?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 How to Display Latest Weeks Volume by Default in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674387#M51164</link>
    <description>&lt;P&gt;Hi, I am looking for some help in displaying a set of numbers on my dashboard but I need to display the latest week whenever the dashboard is open but also allow the user to change the week that they are looking at through the filters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data is the following:&lt;/P&gt;&lt;P&gt;latest_week_rank | week_date | completed_orders&lt;/P&gt;&lt;P&gt;1 | 31/01/2020 | 3500&lt;BR /&gt;2 | 24/01/2020 | 6450&lt;BR /&gt;3 | 17/01/2020 | 6050&lt;BR /&gt;4 | 10/01/2020 | 6110&lt;BR /&gt;5 | 03/01/2020 | 4000&lt;BR /&gt;6 | 27/12/2019 | 3500&lt;BR /&gt;7 | 20/12/2019 | 7500&lt;BR /&gt;8 | 13/12/2019 | 7450&lt;BR /&gt;9 | 06/12/2019 | 7540&lt;BR /&gt;10 | 29/11/2019 | 6900&lt;BR /&gt;11 | 22/11/2019 | 7100&lt;BR /&gt;12 | 15/11/2019 | 7400&lt;BR /&gt;13 | 08/11/2019 | 7550&lt;/P&gt;&lt;P&gt;I am going to be using a Multi KPI Extension where I will display the volume of 3500 for the latest weeks volume in my data and then have a second measure to then display a % value to show if the volume is higher then previous week or lower.&lt;/P&gt;&lt;P&gt;so a formula: (3500 / 6450) giving me a % of 45.74% down&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tricky bit is how to do the expression/variable to show the default of the latest week but also having the ability to filter and pick another week which would then change the previous week if the selection of the week_date is changed.&lt;/P&gt;&lt;P&gt;I would really appreciate if somebody could advise on how I could tackle this issue to display my data on my dashboard as I am fairly new to Qlik so just trying to get my head around how everything works.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
    <dc:creator>aftabn10</dc:creator>
    <dc:date>2021-12-20T21:38:40Z</dc:date>
    <item>
      <title>How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674387#M51164</link>
      <description>&lt;P&gt;Hi, I am looking for some help in displaying a set of numbers on my dashboard but I need to display the latest week whenever the dashboard is open but also allow the user to change the week that they are looking at through the filters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data is the following:&lt;/P&gt;&lt;P&gt;latest_week_rank | week_date | completed_orders&lt;/P&gt;&lt;P&gt;1 | 31/01/2020 | 3500&lt;BR /&gt;2 | 24/01/2020 | 6450&lt;BR /&gt;3 | 17/01/2020 | 6050&lt;BR /&gt;4 | 10/01/2020 | 6110&lt;BR /&gt;5 | 03/01/2020 | 4000&lt;BR /&gt;6 | 27/12/2019 | 3500&lt;BR /&gt;7 | 20/12/2019 | 7500&lt;BR /&gt;8 | 13/12/2019 | 7450&lt;BR /&gt;9 | 06/12/2019 | 7540&lt;BR /&gt;10 | 29/11/2019 | 6900&lt;BR /&gt;11 | 22/11/2019 | 7100&lt;BR /&gt;12 | 15/11/2019 | 7400&lt;BR /&gt;13 | 08/11/2019 | 7550&lt;/P&gt;&lt;P&gt;I am going to be using a Multi KPI Extension where I will display the volume of 3500 for the latest weeks volume in my data and then have a second measure to then display a % value to show if the volume is higher then previous week or lower.&lt;/P&gt;&lt;P&gt;so a formula: (3500 / 6450) giving me a % of 45.74% down&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tricky bit is how to do the expression/variable to show the default of the latest week but also having the ability to filter and pick another week which would then change the previous week if the selection of the week_date is changed.&lt;/P&gt;&lt;P&gt;I would really appreciate if somebody could advise on how I could tackle this issue to display my data on my dashboard as I am fairly new to Qlik so just trying to get my head around how everything works.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674387#M51164</guid>
      <dc:creator>aftabn10</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674727#M51205</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;for Current week&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date ={"&amp;gt;=$(=Weekstart(max(Date)))&amp;lt;=$(=Weekend(max(Date)))"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;%&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date ={"&amp;gt;=$(=Weekstart(max(Date)))&amp;lt;=$(=Weekend(max(Date)))"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;OrderDate ={"&amp;gt;=$(=Weekstart(max(OrderDate),-1))&amp;lt;=$(=Weekend(max(OrderDate),-1))"},Week=&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;Color and arrow&lt;/P&gt;&lt;P&gt;give the expression and set the color and Arrow&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;OrderDate ={"&amp;gt;=$(=Weekstart(max(OrderDate),-1))&amp;lt;=$(=Weekend(max(OrderDate),-1))"},Week=&amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 09:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674727#M51205</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-12T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674854#M51218</link>
      <description>&lt;P&gt;Thanks Kashyap, will try that and let you know how I get on.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674854#M51218</guid>
      <dc:creator>aftabn10</dc:creator>
      <dc:date>2020-02-12T14:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674876#M51220</link>
      <description>&lt;P&gt;Hi Kashyap, quick question, where you have outlined "for Current week" am I putting this directly as an Expression or creating a variable?&lt;/P&gt;&lt;P&gt;Also i'm guessing the % for the previous week volumes against the current week is what you are dividing right?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674876#M51220</guid>
      <dc:creator>aftabn10</dc:creator>
      <dc:date>2020-02-12T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674881#M51221</link>
      <description>&lt;P&gt;Hi Afthab&lt;/P&gt;&lt;P&gt;1. It is the direct expression&lt;/P&gt;&lt;P&gt;2. Current mOnth / Previous&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674881#M51221</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-12T14:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674885#M51222</link>
      <description>&lt;P&gt;Thank you, got it working, one thing if I could change, my dates are based Sat to Fri and would like to use the latest_week_rank as Week_Start and Week_End is using the dates as Mon to Sun. Is it possible to change the code?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674885#M51222</guid>
      <dc:creator>aftabn10</dc:creator>
      <dc:date>2020-02-12T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674889#M51224</link>
      <description>&lt;P&gt;Hi Aftab&lt;/P&gt;&lt;P&gt;In Data load editor Main Section change the below variable&lt;/P&gt;&lt;P&gt;SET &lt;STRONG&gt;FirstWeekDay&amp;nbsp; as&amp;nbsp; 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674889#M51224</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-12T15:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674894#M51225</link>
      <description>&lt;P&gt;Hi Kashyap, apologies. I have wrote the following but this gives me a total for every week, 81050 in my KPI box rather than the volume for the current week only.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date ={"&amp;gt;=$(=Weekstart(max(week_date)))&amp;lt;=$(=Weekend(max(week_date)))"}&amp;gt;}completed_orders)&lt;/P&gt;&lt;P&gt;Have I gone wrong anywhere?&lt;/P&gt;&lt;P&gt;When I filter on the week_date for the current week or any other week then this works exactly like how I want, just need this volume working and all done..&lt;/P&gt;&lt;P&gt;Thanks btw for all your help.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674894#M51225</guid>
      <dc:creator>aftabn10</dc:creator>
      <dc:date>2020-02-12T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674896#M51226</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;week_date={"&amp;gt;=$(=Weekstart(max(week_date)))&amp;lt;=$(=Weekend(max(week_date)))"}&amp;gt;}completed_orders)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674896#M51226</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-12T15:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Display Latest Weeks Volume by Default</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674902#M51229</link>
      <description>&lt;P&gt;kashyap, you are a star! that works exactly how I wanted, thank you so much.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Display-Latest-Weeks-Volume-by-Default/m-p/1674902#M51229</guid>
      <dc:creator>aftabn10</dc:creator>
      <dc:date>2020-02-12T15:34:02Z</dc:date>
    </item>
  </channel>
</rss>

