<?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: How do I restrict data till current month in Bar chart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560546#M441269</link>
    <description>&lt;P&gt;My current Expression is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;SetAnalysis={'Condition1'}&amp;gt;}Distinct Projects)&lt;/P&gt;&lt;P&gt;I am taking Month in X axis..&lt;/P&gt;&lt;P&gt;I have tried the expression that you have suggested..looks like it doesn't work&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2019 07:33:42 GMT</pubDate>
    <dc:creator>Naushad07</dc:creator>
    <dc:date>2019-03-25T07:33:42Z</dc:date>
    <item>
      <title>How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560540#M441265</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement where I have to display the bar chart till only the current month. Need help on how to achieve this functionality?.&lt;/P&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;P&gt;I have Data from 2016 till 2020. But I want to restrict my bar chart to display till current month.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560540#M441265</guid>
      <dc:creator>Naushad07</dc:creator>
      <dc:date>2019-03-25T07:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560541#M441266</link>
      <description>&lt;P&gt;My preference would be, create Month field with integer and use formula like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;MonthNum = {"$('&amp;lt;=' &amp;amp; =Max(MonthNum))"}, Year={"$('&amp;lt;=' &amp;amp; =Max(Year))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560541#M441266</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-03-25T07:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560543#M441267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you should use the set analysis for that.&lt;/P&gt;&lt;P&gt;Below is the example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"&amp;lt;=$(=Monthend(today()))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information on Set analysis, find below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560543#M441267</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2019-03-25T07:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560545#M441268</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/68072"&gt;@Naushad07&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can restrict it using calculated dimension, edit your dimension like below (keep date format as per yours) :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=if(date(&lt;STRONG&gt;yourDateField&lt;/STRONG&gt;,'dd/mm/yyyy')&amp;lt;date(MonthEnd(today()),'dd/mm/yyyy'),&lt;STRONG&gt;yourDateField&lt;/STRONG&gt;)&lt;/PRE&gt;&lt;P&gt;OR use exp like this&lt;/P&gt;&lt;PRE&gt;=Sum({&amp;lt;yourDateField= {"&amp;lt;=$(=MonthEnd(today()))"}&amp;gt;}yourQuantity)

&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560545#M441268</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-03-25T07:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560546#M441269</link>
      <description>&lt;P&gt;My current Expression is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;SetAnalysis={'Condition1'}&amp;gt;}Distinct Projects)&lt;/P&gt;&lt;P&gt;I am taking Month in X axis..&lt;/P&gt;&lt;P&gt;I have tried the expression that you have suggested..looks like it doesn't work&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560546#M441269</guid>
      <dc:creator>Naushad07</dc:creator>
      <dc:date>2019-03-25T07:33:42Z</dc:date>
    </item>
    <item>
      <title>Use SET analysis to restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560547#M441270</link>
      <description>Lets assume that your current expression is SUM(Amount) and that you got an&lt;BR /&gt;numeric YearMonth field that increase numerically by every month. E.g.&lt;BR /&gt;201901, 201902 OR created by monthName() function. Then you can do the&lt;BR /&gt;following.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Adjust your expression with set analysis.&lt;BR /&gt;&lt;BR /&gt;Sum( {&amp;lt; YearMonth={"$(=max(YearMonth))"} &amp;gt;} Amount)&lt;BR /&gt;&lt;BR /&gt;This expressive will calculate the amount for the latest yearmonth in your&lt;BR /&gt;selection/data.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Mar 2019 07:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560547#M441270</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-03-25T07:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560585#M441271</link>
      <description>I am using Month in X axis, Not Date. I am displaying Bar chart month over month&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Mar 2019 08:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560585#M441271</guid>
      <dc:creator>Naushad07</dc:creator>
      <dc:date>2019-03-25T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I restrict data till current month in Bar chart?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560587#M441272</link>
      <description>&lt;P&gt;It doesnt matter, your X axis could be month, but the Date filter used in set analysis, will filter month by default.&lt;/P&gt;&lt;P&gt;Try the given expression and you will see the difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2019 08:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-restrict-data-till-current-month-in-Bar-chart/m-p/1560587#M441272</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2019-03-25T08:53:16Z</dc:date>
    </item>
  </channel>
</rss>

