<?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: different filters for two measures in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641933#M47845</link>
    <description>&lt;P&gt;when i used the expression below for the measure, end_onhand_cost,&amp;nbsp; and selected Months May and June, 2019, the sales sum was the correct two month total but the end_onhand_cost total was 0.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={"$(=max(Month))"}&amp;gt;}[end_onhand_cost])&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2019 00:11:22 GMT</pubDate>
    <dc:creator>johndoub</dc:creator>
    <dc:date>2019-11-01T00:11:22Z</dc:date>
    <item>
      <title>different filters for two measures</title>
      <link>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641875#M47836</link>
      <description>&lt;P&gt;i have one dimension, month, and two measures, sales and ending on hand inventory.&amp;nbsp; Each month has values for sales and ending on hand inventory.&amp;nbsp; is it possible to have the sales measure be filtered&amp;nbsp; to show total sales for June and July and have the ending on hand inventory be filtered to just for July?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 19:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641875#M47836</guid>
      <dc:creator>johndoub</dc:creator>
      <dc:date>2019-10-31T19:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: different filters for two measures</title>
      <link>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641880#M47839</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes you can&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. you select June and July from month field&amp;nbsp;&lt;/P&gt;&lt;P&gt;let assume your expression for sales is : sum(Sales)&amp;nbsp; so you'll get the two months results&amp;nbsp;&lt;/P&gt;&lt;P&gt;for inventory you'll use : sum({&amp;lt;month={"$(=max(monnth))"}&amp;gt;}[inventory on hand])&lt;/P&gt;&lt;P&gt;so it'll only consider the last month&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 19:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641880#M47839</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-10-31T19:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: different filters for two measures</title>
      <link>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641897#M47843</link>
      <description>&lt;P&gt;Try with the Alternative states in Qlik Sense .&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Advanced-Authoring/NEW-Qlik-Sense-Alternate-States-capabilities/td-p/127894" target="_self"&gt;Alternative States in Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try adding different alternative stated to Filters and their corresponding objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Vikky&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641897#M47843</guid>
      <dc:creator>vikramv</dc:creator>
      <dc:date>2019-10-31T20:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: different filters for two measures</title>
      <link>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641933#M47845</link>
      <description>&lt;P&gt;when i used the expression below for the measure, end_onhand_cost,&amp;nbsp; and selected Months May and June, 2019, the sales sum was the correct two month total but the end_onhand_cost total was 0.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={"$(=max(Month))"}&amp;gt;}[end_onhand_cost])&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 00:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1641933#M47845</guid>
      <dc:creator>johndoub</dc:creator>
      <dc:date>2019-11-01T00:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: different filters for two measures</title>
      <link>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1642148#M47856</link>
      <description>&lt;P&gt;thanks very much for your help.&amp;nbsp; here's what my data looks like.&lt;/P&gt;&lt;P&gt;for June, 2019, field Month=Jun 19, field sys_cal_month_id = 197.&lt;/P&gt;&lt;P&gt;for July, 2019, field Month=Jul 19, field&amp;nbsp;sys_cal_month_id = 198.&lt;/P&gt;&lt;P&gt;i selected Jun 19 and Jul 19 for my 2 months.&amp;nbsp; the sum(sales) gives the correct 2 month total.&lt;/P&gt;&lt;P&gt;i changed your expression to Sum({&amp;lt;Month={"$(=max(sys_cal_month_id))"}&amp;gt;}[end_onhand_cost]).&amp;nbsp; it shows the correct "198" for sys_cal_month_id but it still gives 0 for the end_onhand_cost measure.&lt;/P&gt;&lt;P&gt;what am i doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 16:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/different-filters-for-two-measures/m-p/1642148#M47856</guid>
      <dc:creator>johndoub</dc:creator>
      <dc:date>2019-11-01T16:13:09Z</dc:date>
    </item>
  </channel>
</rss>

