<?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: Help with possible function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515465#M105676</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143335"&gt;@Qlikuser225&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The cleanest solution is to create a new flag in your script. This new flag will take the value "1" if the user has a row where Flag = Y, regardless of the year, otherwise "0".&lt;/P&gt;&lt;P&gt;To do it, you can create a mapping table like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgatheClero_0-1745417369332.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179853i4E83DA97488E3701/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgatheClero_0-1745417369332.png" alt="AgatheClero_0-1745417369332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you will have the following result :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgatheClero_1-1745417485089.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179854i61D61BD54D881081/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgatheClero_1-1745417485089.png" alt="AgatheClero_1-1745417485089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, you just need to write this in your set analysis : &lt;STRONG&gt;{&amp;lt; Flag_Y = {1} &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 14:12:56 GMT</pubDate>
    <dc:creator>AgatheClero</dc:creator>
    <dc:date>2025-04-23T14:12:56Z</dc:date>
    <item>
      <title>Help with possible function</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515284#M105661</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone please help me with below?&lt;/P&gt;&lt;P&gt;I have a data set&amp;nbsp;&lt;/P&gt;&lt;P&gt;User&amp;nbsp; &amp;nbsp; &amp;nbsp; Year&amp;nbsp; &amp;nbsp; Flag&lt;/P&gt;&lt;P&gt;AAA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2025&amp;nbsp; &amp;nbsp; &amp;nbsp;-&lt;/P&gt;&lt;P&gt;AAA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2024&amp;nbsp; &amp;nbsp; &amp;nbsp;Y&lt;/P&gt;&lt;P&gt;AAA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2023&amp;nbsp; &amp;nbsp; Y&lt;/P&gt;&lt;P&gt;On the SHEET i have a condition to show only if Flag='Y' .&lt;/P&gt;&lt;P&gt;But that SHEET should also appear to user AAA when Year 2025 is selected where Flag is null (because he had Flag = 'Y' in prior years - sheet should show regardless of selected Year if he ever had Flag Y)&lt;/P&gt;&lt;P&gt;Can anyone please help with the condition to use on the sheet for above scenario?&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 19:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515284#M105661</guid>
      <dc:creator>Qlikuser225</dc:creator>
      <dc:date>2025-04-22T19:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with possible function</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515411#M105669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143335"&gt;@Qlikuser225&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt;(OSUser() = 'UserDirectory=Dir; UserId=jandre.killian' and GetFieldSelections(Year) = '2025') or (GetFieldSelections(Flag) = 'Y')&lt;BR /&gt;, 1&lt;BR /&gt;, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just checking, You can use the OSUser() to get the current user, Is the User is just a field on your side you can just change the expression to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt;(User = 'AAA' and GetFieldSelections(Year) = '2025') or (GetFieldSelections(Flag) = 'Y')&lt;BR /&gt;, 1&lt;BR /&gt;, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might need to add the Isnull(Flag) is you have more data where the Flag field is null.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 08:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515411#M105669</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-04-23T08:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with possible function</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515465#M105676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/143335"&gt;@Qlikuser225&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The cleanest solution is to create a new flag in your script. This new flag will take the value "1" if the user has a row where Flag = Y, regardless of the year, otherwise "0".&lt;/P&gt;&lt;P&gt;To do it, you can create a mapping table like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgatheClero_0-1745417369332.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179853i4E83DA97488E3701/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgatheClero_0-1745417369332.png" alt="AgatheClero_0-1745417369332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you will have the following result :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AgatheClero_1-1745417485089.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179854i61D61BD54D881081/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AgatheClero_1-1745417485089.png" alt="AgatheClero_1-1745417485089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, you just need to write this in your set analysis : &lt;STRONG&gt;{&amp;lt; Flag_Y = {1} &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 14:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-possible-function/m-p/2515465#M105676</guid>
      <dc:creator>AgatheClero</dc:creator>
      <dc:date>2025-04-23T14:12:56Z</dc:date>
    </item>
  </channel>
</rss>

