<?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 Set Expressions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Expressions/m-p/1817396#M66949</link>
    <description>&lt;DIV class="MessageInResponseTo lia-component-message-view-widget-in-response-to lia-component-in-response-to"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I need to fill in the "Tempo de envio a parecer" column, which complies with the following conditions:- Select records equal to "Parecer" in field "tp_envio"&lt;/P&gt;&lt;P&gt;- Select records in "dt_envio" but only for those records matching the condition [equal to "id_unidade_conselheiro"] in field "id_unidade_origem"&lt;/P&gt;&lt;P&gt;-Select records greater than or equal "dt_distribuicao" in field "dt_envio"&lt;/P&gt;&lt;P&gt;- Select records in "dt_envio" but only for those records matching the condition [equal to "ft_processos.st_fato"] in field "ft_parecer_diligencia.st_fato"&lt;/P&gt;&lt;P&gt;And I need this to be grouped by nu_processo_sei+type (shown in the first image), but I can't perform this concatenation in THE AGGR&lt;/P&gt;&lt;P&gt;The formula I use only works when I select a specific process, but I need the values to always be exposed, even without selecting any filter&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I used:&lt;/STRONG&gt;&lt;BR /&gt;INTERVAL( AGGR(Min({$&amp;lt;tp_envio={"Parecer"},dt_envio=P({1&amp;lt;id_unidade_origem={$(=id_unidade_conselheiro)}&amp;gt;}dt_envio),dt_envio={'$(&amp;gt;=dt_distribuicao)'},dt_envio=P({1&amp;lt;ft_parecer_diligencia.st_fato={$(=ft_processos.st_fato)}&amp;gt;}dt_envio),dt_envio=P({1&amp;lt;ft_parecer_diligencia.nu_processo_sei={'$(=nu_processo_sei)'}&amp;gt;}dt_envio)&amp;gt;}dt_envio),nu_processo_sei)-dt_distribuicao)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;unfiltered:&lt;/STRONG&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isabellalacerd_0-1624457775064.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57427i69637728FA0A84AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isabellalacerd_0-1624457775064.png" alt="isabellalacerd_0-1624457775064.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;filtered:&lt;/STRONG&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isabellalacerd_1-1624457775141.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57428i5B6A70612DDC31C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isabellalacerd_1-1624457775141.png" alt="isabellalacerd_1-1624457775141.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 23 Jun 2021 14:19:34 GMT</pubDate>
    <dc:creator>isabellalacerd</dc:creator>
    <dc:date>2021-06-23T14:19:34Z</dc:date>
    <item>
      <title>Set Expressions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expressions/m-p/1817396#M66949</link>
      <description>&lt;DIV class="MessageInResponseTo lia-component-message-view-widget-in-response-to lia-component-in-response-to"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I need to fill in the "Tempo de envio a parecer" column, which complies with the following conditions:- Select records equal to "Parecer" in field "tp_envio"&lt;/P&gt;&lt;P&gt;- Select records in "dt_envio" but only for those records matching the condition [equal to "id_unidade_conselheiro"] in field "id_unidade_origem"&lt;/P&gt;&lt;P&gt;-Select records greater than or equal "dt_distribuicao" in field "dt_envio"&lt;/P&gt;&lt;P&gt;- Select records in "dt_envio" but only for those records matching the condition [equal to "ft_processos.st_fato"] in field "ft_parecer_diligencia.st_fato"&lt;/P&gt;&lt;P&gt;And I need this to be grouped by nu_processo_sei+type (shown in the first image), but I can't perform this concatenation in THE AGGR&lt;/P&gt;&lt;P&gt;The formula I use only works when I select a specific process, but I need the values to always be exposed, even without selecting any filter&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I used:&lt;/STRONG&gt;&lt;BR /&gt;INTERVAL( AGGR(Min({$&amp;lt;tp_envio={"Parecer"},dt_envio=P({1&amp;lt;id_unidade_origem={$(=id_unidade_conselheiro)}&amp;gt;}dt_envio),dt_envio={'$(&amp;gt;=dt_distribuicao)'},dt_envio=P({1&amp;lt;ft_parecer_diligencia.st_fato={$(=ft_processos.st_fato)}&amp;gt;}dt_envio),dt_envio=P({1&amp;lt;ft_parecer_diligencia.nu_processo_sei={'$(=nu_processo_sei)'}&amp;gt;}dt_envio)&amp;gt;}dt_envio),nu_processo_sei)-dt_distribuicao)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;unfiltered:&lt;/STRONG&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isabellalacerd_0-1624457775064.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57427i69637728FA0A84AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isabellalacerd_0-1624457775064.png" alt="isabellalacerd_0-1624457775064.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;filtered:&lt;/STRONG&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isabellalacerd_1-1624457775141.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57428i5B6A70612DDC31C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="isabellalacerd_1-1624457775141.png" alt="isabellalacerd_1-1624457775141.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Jun 2021 14:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expressions/m-p/1817396#M66949</guid>
      <dc:creator>isabellalacerd</dc:creator>
      <dc:date>2021-06-23T14:19:34Z</dc:date>
    </item>
  </channel>
</rss>

