<?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: Limit by two dimentions in an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288261#M853952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not a problem at all, and don't worry, Set Analysis kills most of my time at the moment!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 14:02:53 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2017-02-16T14:02:53Z</dc:date>
    <item>
      <title>Limit by two dimentions in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288258#M853949</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;New to QV so I hope I worded this question correctly - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to limit sales by month. (I have a fat calendar table that holds all possible days, weeks, quarters, months, years for the period)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;month_no_id = {$(#=Only(month_no_id ))},day=,calendar_date=, week_no_id=,week_no=&amp;gt;} sale_cost_value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each sale can have a different no of sales charges, and I need to limit by one of the charges within the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works to limit the sales type &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; - sum({&amp;lt;sales_cost_id={ '4'}&amp;gt;}&amp;nbsp; [sales_cost_value]))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But something like this doesn't &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({$&amp;lt;month_no_id = {$(#=Only(month_no_id ))},day=,calendar_date=, week_no_id=,week_no=&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;sales_cost_id={ '4'}&amp;gt;}&amp;nbsp; [sales_cost_value])&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there any way I can combine both restrictions in an expression or is there another way?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288258#M853949</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limit by two dimentions in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288259#M853950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOmething like:&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: 13.3333px;"&gt;sum({$&amp;lt;month_no_id = {$(#=Only(month_no_id ))},day=,calendar_date=, week_no_id=,week_no=,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sales_cost_id={ '4'}&lt;/SPAN&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; [sales_cost_value])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;should do the trick&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 13:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288259#M853950</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-02-16T13:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Limit by two dimentions in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288260#M853951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much Adam, that issue killed my morning! Very much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 14:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288260#M853951</guid>
      <dc:creator />
      <dc:date>2017-02-16T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Limit by two dimentions in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288261#M853952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not a problem at all, and don't worry, Set Analysis kills most of my time at the moment!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 14:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-by-two-dimentions-in-an-expression/m-p/1288261#M853952</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-02-16T14:02:53Z</dc:date>
    </item>
  </channel>
</rss>

