<?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 How to filter in expression when variable is used for dates? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771968#M718161</link>
    <description>&lt;P&gt;I am using Variable to select dates in my expression on straight table.&amp;nbsp;&amp;nbsp;sum($(vSETYTD) Sales). How can I apply filter to select a particular customer?&lt;/P&gt;&lt;P&gt;The below expression doesn't give me any results.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;$(vSETYTD), Customer=-{'123','345'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:38:54 GMT</pubDate>
    <dc:creator>turtle_qlikview</dc:creator>
    <dc:date>2024-11-16T17:38:54Z</dc:date>
    <item>
      <title>How to filter in expression when variable is used for dates?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771968#M718161</link>
      <description>&lt;P&gt;I am using Variable to select dates in my expression on straight table.&amp;nbsp;&amp;nbsp;sum($(vSETYTD) Sales). How can I apply filter to select a particular customer?&lt;/P&gt;&lt;P&gt;The below expression doesn't give me any results.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;$(vSETYTD), Customer=-{'123','345'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771968#M718161</guid>
      <dc:creator>turtle_qlikview</dc:creator>
      <dc:date>2024-11-16T17:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter in expression when variable is used for dates?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771977#M718163</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First thing is the value of the variable. Can You provide information about it ?&lt;/P&gt;&lt;P&gt;When you create an expression in straight table dont put label on in. You'll be able to see how the expression looks like. Will be good if you paste full expanded expression here.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 16:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771977#M718163</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2021-01-05T16:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter in expression when variable is used for dates?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771999#M718166</link>
      <description>&lt;P&gt;Variable vSETYTD is as below. Copied from variable overview :&lt;/P&gt;&lt;P&gt;{$&amp;lt;Year={$(=max(total Year))}, MonthDayNo={"&amp;lt;=$(=max(total MonthDayNo))"},Month=,[Month Year]=,Quarter=,Date=,Week=,WeekNo=&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current Expression is&amp;nbsp;&lt;SPAN&gt;sum($(vSETYTD) Sales), to which I want to apply customer filter.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 17:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1771999#M718166</guid>
      <dc:creator>turtle_qlikview</dc:creator>
      <dc:date>2021-01-05T17:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter in expression when variable is used for dates?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1772015#M718168</link>
      <description>&lt;P&gt;With this SetExpression selecting customers in listbox will work.&lt;BR /&gt;Do i understand correctly: You want to add customer ids to this set dynamicaly ?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 17:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1772015#M718168</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2021-01-05T17:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter in expression when variable is used for dates?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1772029#M718170</link>
      <description>&lt;P&gt;This is what I did and it worked:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I expanded the variable and added the customer label to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Final Expression:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={$(=max(total Year))}, MonthDayNo={"&amp;lt;=$(=max(total MonthDayNo))"},[Customer]={'123','345'},Month=,[Month Year]=,Quarter=,Date=,Week=,WeekNo=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 18:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-in-expression-when-variable-is-used-for-dates/m-p/1772029#M718170</guid>
      <dc:creator>turtle_qlikview</dc:creator>
      <dc:date>2021-01-05T18:18:18Z</dc:date>
    </item>
  </channel>
</rss>

