<?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: Use Record data in set expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889768#M73297</link>
    <description>&lt;P&gt;You have one pair of curly brackets too many.&lt;/P&gt;&lt;P&gt;... ={"&amp;lt;={$(=InvoiceLineStartDateKey)}"}, ...&lt;/P&gt;&lt;P&gt;should be&lt;/P&gt;&lt;P&gt;... ={"&amp;lt;=$(=InvoiceLineStartDateKey)"}, ...&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 14:14:00 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2022-02-07T14:14:00Z</dc:date>
    <item>
      <title>Use Record data in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889671#M73288</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I hope you can help me, as i tried finding the way to do this, but I am not getting there.&lt;/P&gt;
&lt;P&gt;This gives me the result I want:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;only ({$&amp;lt;PropositionComponentKey={'12'}, PricePropositionStartDateKey={"&amp;lt;=20210101"}, PricePropositionEndDateKey = {"&amp;gt;=20210201"} &amp;gt;}Price)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The dates should be updated by record data, so the dates are coming from the record in Qliksense. I cannot seem to get the correct command for it. This seems logical to me, but Qlik thinks differently&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;only({$&amp;lt;PropositionComponentKey={'12'}, PricePropositionStartDateKey={"&amp;lt;={$(=InvoiceLineStartDateKey)}"}, PricePropositionEndDateKey = {"&amp;gt;=20210201"} &amp;gt;}Price)&lt;/LI-CODE&gt;
&lt;P&gt;The invoicelineStartDateKey is exactly the data that is in the first query, however the result in my Qliksense screen is a null value.&amp;nbsp; I have tried multiple ways to have the daya in my query, but the result currently is always the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anyone who knows what I do wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 09:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889671#M73288</guid>
      <dc:creator>JeroenHoltrop</dc:creator>
      <dc:date>2022-02-07T09:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use Record data in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889768#M73297</link>
      <description>&lt;P&gt;You have one pair of curly brackets too many.&lt;/P&gt;&lt;P&gt;... ={"&amp;lt;={$(=InvoiceLineStartDateKey)}"}, ...&lt;/P&gt;&lt;P&gt;should be&lt;/P&gt;&lt;P&gt;... ={"&amp;lt;=$(=InvoiceLineStartDateKey)"}, ...&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 14:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889768#M73297</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-02-07T14:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use Record data in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889770#M73298</link>
      <description>&lt;P&gt;Hi, you can a field list to check the available values for InvoiceLineStartDateKey, if there is more than one possible value the expression will fail.&lt;/P&gt;
&lt;P&gt;Note that set analysis is not evaluated row by row, it is calculated before the table to select the dataset, and after that the chart is calculated using this dataset.&lt;/P&gt;
&lt;P&gt;Also this can be a format issue, is the value for&amp;nbsp;InvoiceLineStartDateKey in YYYYMMDD format?&lt;/P&gt;
&lt;P&gt;If you open expression editor you can check a the bottom how&amp;nbsp;$(=InvoiceLineStartDateKey) is converted to see the expanded expression that will be used.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 14:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889770#M73298</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-02-07T14:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use Record data in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889828#M73305</link>
      <description>&lt;P&gt;Yeah, that is it, now it works, thank you very much&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 15:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Record-data-in-set-expression/m-p/1889828#M73305</guid>
      <dc:creator>JeroenHoltrop</dc:creator>
      <dc:date>2022-02-07T15:17:16Z</dc:date>
    </item>
  </channel>
</rss>

