<?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: Monthwise Market Share Filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901295#M1006125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jagan,&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see that, this is for monthly periods, and in the below expression, there are Year and Quarter selected, but we have 4 filters in our scenario. Year, Month, TimePeriod and Measure. So, what should be the selections there?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Year=, &lt;STRONG style="text-decoration: underline;"&gt;Quarter&lt;/STRONG&gt;=, Date={'&amp;gt;=$(=MonthStart(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_Formatted&lt;/SPAN&gt;), -11))&amp;lt;=$(=MonthEnd(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_Formatted&lt;/SPAN&gt;)))'}&amp;gt;} MeasureName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;Another thing is, how can we calculate the Market Share? It should be like below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(CValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(total CValue).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But I need a expression for this with the selections and with 12 months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On top of that, the below load script is designed for external data source:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Date(Date#(Date, 'YYYYMM)) AS Date_Formatted&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how can I create the Date(Date#(Date, 'YYYYMM)) in sql? in our scenario, we are fetching data directly from sql database. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;Looking forward to your answers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sajid.&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 06:35:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-21T06:35:16Z</dc:date>
    <item>
      <title>Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901291#M1006121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hello &lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Everyone,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I need some help regarding a Month selection in my qvw file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;In my file, there are four filters (Year,Month, Time Period and Measure) available. &lt;BR /&gt;Please have a look at the below two screenshots. &lt;BR /&gt;The Requirement is, if I select Year (e.g 2015) , Month(Mar), Time Period (Mat) and Measure (Stand. Unit) then my chart should show latest 12 Months' Market Share.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/87110_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;IMG alt="" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/87111_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;But the Chart Dimension is not a Date Column (e.g 201503, 201405 etc.). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;What should be the expression? currently this expression is used: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(CValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(total CValue).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Looking forward to the correct answer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Sajid.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 05:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901291#M1006121</guid>
      <dc:creator />
      <dc:date>2015-05-21T05:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901292#M1006122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use calculated Dimension,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(dimensionName,'Your Required Format')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(dimensionName,'YYYYMM'),'Your Required Format')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 05:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901292#M1006122</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-05-21T05:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901293#M1006123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max Dreamer, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have faced similar problems in Quarterly Periods. Then we solved this using the below solution:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;MakeDate(Year, Right(Quarter, 1) * 3) AS Date&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also see the below thread for the previous solution. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/164738"&gt;QlikView Quarter Filter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it was for Quarter Periods. Could you please tell us how we can do the same for Month Periods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Sajid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 05:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901293#M1006123</guid>
      <dc:creator />
      <dc:date>2015-05-21T05:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901294#M1006124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this, arrive a date field in script and using that you can easily achieve this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Date(Date#(Date, 'YYYYMM)) AS Date_Formatted&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in expression use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Year=, Quarter=, Date={'&amp;gt;=$(=MonthStart(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_Formatted&lt;/SPAN&gt;), -11))&amp;lt;=$(=MonthEnd(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_Formatted&lt;/SPAN&gt;)))'}&amp;gt;} MeasureName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 06:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901294#M1006124</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-21T06:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901295#M1006125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jagan,&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see that, this is for monthly periods, and in the below expression, there are Year and Quarter selected, but we have 4 filters in our scenario. Year, Month, TimePeriod and Measure. So, what should be the selections there?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Year=, &lt;STRONG style="text-decoration: underline;"&gt;Quarter&lt;/STRONG&gt;=, Date={'&amp;gt;=$(=MonthStart(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_Formatted&lt;/SPAN&gt;), -11))&amp;lt;=$(=MonthEnd(Max(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Date_Formatted&lt;/SPAN&gt;)))'}&amp;gt;} MeasureName&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;Another thing is, how can we calculate the Market Share? It should be like below:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(CValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(total CValue).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But I need a expression for this with the selections and with 12 months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On top of that, the below load script is designed for external data source:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Date(Date#(Date, 'YYYYMM)) AS Date_Formatted&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how can I create the Date(Date#(Date, 'YYYYMM)) in sql? in our scenario, we are fetching data directly from sql database. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;Looking forward to your answers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sajid.&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 06:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901295#M1006125</guid>
      <dc:creator />
      <dc:date>2015-05-21T06:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901296#M1006126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the script like below if you are using SQL, I just given for sample purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Date(Date#(Date, 'YYYYMM)) AS Date_Formatted;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM YourSQLTableName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;{&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Year=, Month=, TimePeriod=, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt; &lt;STRONG style="color: #3d3d3d; font-style: inherit; font-size: 13.3333330154419px; background-color: #f2f2f2; font-family: calibri, verdana, arial, sans-serif;"&gt;Date_Formatted&lt;/STRONG&gt;={'&amp;gt;=$(=MonthStart(Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Date_Formatted&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;), -11))&amp;lt;=$(=MonthEnd(Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Date_Formatted&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;)))'}&amp;gt;} &lt;/SPAN&gt;CValue)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 12px; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;{&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Year=, Month=, TimePeriod=, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt; &lt;STRONG style="color: #3d3d3d; font-style: inherit; font-size: 13.3333330154419px; background-color: #f2f2f2; font-family: calibri, verdana, arial, sans-serif;"&gt;Date_Formatted&lt;/STRONG&gt;={'&amp;gt;=$(=MonthStart(Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Date_Formatted&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;), -11))&amp;lt;=$(=MonthEnd(Max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: calibri, verdana, arial, sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Date_Formatted&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;)))'}&amp;gt;} &lt;/SPAN&gt;&lt;/STRONG&gt;total CValue).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 06:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901296#M1006126</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-05-21T06:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Monthwise Market Share Filter</title>
      <link>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901297#M1006127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have tried to implement the changes. But still facing problems to calculate Market Share.&lt;/P&gt;&lt;P&gt;We actually skipped one important thing to mention which is slider in our dashboard which is like below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87128_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see that there are 3 items in the slider which are Specialty, Molecule and Diagnosis. Do you think this is the main reason our Market Share is not returning the correct value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don’t know how to handle expression when I use slider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the related chart we have taken the following dimensions with conditions and expression:&lt;/P&gt;&lt;P&gt;Chart:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87129_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Dimension1: Specialty, corresponding condition: SubStringCount(Concat(_MADimension, '|'), 'Specialty') &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Dimension2: Molecule, corresponding condition: SubStringCount(Concat(_MADimension, '|'), ‘Molecule’) &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Dimension3: Diagnosis&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;, corresponding condition: SubStringCount(Concat(_MADimension, '|'), ‘Diagnosis’) &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;Dimension4: Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;Measure Expression: &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MAYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MAQUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'&amp;gt;=$(=QuarterStart(Max(Date), -7))&amp;lt;=$(=QuarterEnd(Max(Date)))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Proj__Default_Crp&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;BR /&gt; /&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MAYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MAQUARTER&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'&amp;gt;=$(=QuarterStart(Max(Date), -7))&amp;lt;=$(=QuarterEnd(Max(Date)))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Proj__Default_Crp&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;It would be nice if you could help me in this regard.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black;"&gt;Thanks a lot and Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Sajid&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 08:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthwise-Market-Share-Filter/m-p/901297#M1006127</guid>
      <dc:creator />
      <dc:date>2015-05-21T08:38:32Z</dc:date>
    </item>
  </channel>
</rss>

