<?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 Need help with set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-expression/m-p/2073330#M1223742</link>
    <description>&lt;P&gt;I am new to qliksense and I'm trying out a scenario as part of my learning. I have two tables Sales(contains Sales_Date) and Target(contains Target_Year and Target_Value). Sales table has values for every day and Target has year level data. I'm trying to create a table visual with both data combined. So the table visual will have the following columns: Sales_Date Target_Value&lt;/P&gt;
&lt;P&gt;Since the Target table has year level data, I'm trying to bring Target_Value into the table visual using the below set expression in a measure =Sum({&amp;lt;Target_Year = {$(=Year(Date(Sales_Date)))}&amp;gt;}Target_Value)&lt;/P&gt;
&lt;P&gt;This doesn't seem to work and I get no value. The expression editor doesn't throw any error. The next option would be to create a Sales_Year column in the Sales table and associate it with the Target_Year in Target table to get the corresponding Target_Value. But I would like to understand why the above expression doesn't work. Do set expression not work in row level? Any guidance is greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 13:57:17 GMT</pubDate>
    <dc:creator>dinghankar</dc:creator>
    <dc:date>2023-05-19T13:57:17Z</dc:date>
    <item>
      <title>Need help with set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-expression/m-p/2073330#M1223742</link>
      <description>&lt;P&gt;I am new to qliksense and I'm trying out a scenario as part of my learning. I have two tables Sales(contains Sales_Date) and Target(contains Target_Year and Target_Value). Sales table has values for every day and Target has year level data. I'm trying to create a table visual with both data combined. So the table visual will have the following columns: Sales_Date Target_Value&lt;/P&gt;
&lt;P&gt;Since the Target table has year level data, I'm trying to bring Target_Value into the table visual using the below set expression in a measure =Sum({&amp;lt;Target_Year = {$(=Year(Date(Sales_Date)))}&amp;gt;}Target_Value)&lt;/P&gt;
&lt;P&gt;This doesn't seem to work and I get no value. The expression editor doesn't throw any error. The next option would be to create a Sales_Year column in the Sales table and associate it with the Target_Year in Target table to get the corresponding Target_Value. But I would like to understand why the above expression doesn't work. Do set expression not work in row level? Any guidance is greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 13:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-expression/m-p/2073330#M1223742</guid>
      <dc:creator>dinghankar</dc:creator>
      <dc:date>2023-05-19T13:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-expression/m-p/2073475#M1223743</link>
      <description>&lt;P&gt;Hi, " " in modifiers are used for evaluated values.&lt;/P&gt;
&lt;P&gt;=Sum({&amp;lt;Target_Year = {&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;$(=Year(Date(Sales_Date)))&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/FONT&gt;}&amp;gt;}Target_Value)&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 07:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-expression/m-p/2073475#M1223743</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-05-20T07:44:57Z</dc:date>
    </item>
  </channel>
</rss>

