<?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 Only show monthends in a graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756896#M719429</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with balances for every day of the month for 2 years (2018 to 2020)&lt;/P&gt;&lt;P&gt;two fields: Balance_date, Balance_amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a chart that will only show me the monthends for these values.&lt;/P&gt;&lt;P&gt;Dimension would be:&amp;nbsp; Year(Balance_date)&amp;amp;'-'&amp;amp;Month(Balance_date)&lt;/P&gt;&lt;P&gt;Expression: sum(Balance_amount)&lt;/P&gt;&lt;P&gt;I tried sum({&amp;lt; Balance_date = {'$(=Date(Monthend(Balance_date )))'}&amp;gt;} Balance_amount)&lt;/P&gt;&lt;P&gt;But it obviously didn't work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>sibrulotte</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Only show monthends in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756896#M719429</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with balances for every day of the month for 2 years (2018 to 2020)&lt;/P&gt;&lt;P&gt;two fields: Balance_date, Balance_amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a chart that will only show me the monthends for these values.&lt;/P&gt;&lt;P&gt;Dimension would be:&amp;nbsp; Year(Balance_date)&amp;amp;'-'&amp;amp;Month(Balance_date)&lt;/P&gt;&lt;P&gt;Expression: sum(Balance_amount)&lt;/P&gt;&lt;P&gt;I tried sum({&amp;lt; Balance_date = {'$(=Date(Monthend(Balance_date )))'}&amp;gt;} Balance_amount)&lt;/P&gt;&lt;P&gt;But it obviously didn't work...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756896#M719429</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Only show monthends in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756902#M719430</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32097"&gt;@sibrulotte&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create one flag in script and use in the set analysis which is very flexible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;SPAN&gt;Balance_date, Balance_amount, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dual(Year(Balance_date)&amp;amp;'-'&amp;amp;Month(Balance_date), MonthName(Balance_date)) as MonthYear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(Floor(Balance_date) = Floor(MonthEnd(Balance_date)), 1, 0) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from yoursourcetable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In front end,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MonthYear as Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&amp;nbsp;sum({&amp;lt;Flag={1}&amp;gt;}Balance_amount)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 03:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756902#M719430</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-10-29T03:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Only show monthends in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756911#M719431</link>
      <description>&lt;P&gt;Can you try this?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({$&amp;lt;Balance_date ={'$(=MonthEnd(AddMonths(Balance_date), -1))'}&amp;gt;} Balance_amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(monthend(Balance_date) = Balance_date, 1,0) as MonthEnd_Flag.&amp;nbsp; &amp;nbsp; &amp;nbsp;-- script&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Sum({$&amp;lt;MonthEnd_Flag = {"1"}&amp;gt;} &lt;SPAN&gt;Balance_amount&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 04:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1756911#M719431</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-10-29T04:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Only show monthends in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1757192#M719433</link>
      <description>&lt;P&gt;Try this expression.&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date = {"=Date=Dayname(Monthend(Date))"}&amp;gt;}Balance_amount)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 746px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43236iD7A4D500288D9AB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;See attached qvw&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 21:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1757192#M719433</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-29T21:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Only show monthends in a graph</title>
      <link>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1759128#M719434</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32097"&gt;@sibrulotte&lt;/a&gt;&amp;nbsp;You have received three good responses on this one, we would appreciate it if you would return to the thread and use the Accept as Solution on the post(s) that helped, or if you have further questions, please leave an update.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 22:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-show-monthends-in-a-graph/m-p/1759128#M719434</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-11-05T22:24:01Z</dc:date>
    </item>
  </channel>
</rss>

