<?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: How to show variable when WeekFlag is 1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842566#M1215347</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vWeekStart&amp;nbsp; = Date(Min({&amp;lt;WeekFlag&amp;nbsp;={1}&amp;gt;}MDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vWeekEnd&amp;nbsp;= Date(Max({&amp;lt;WeekFlag&amp;nbsp;={1}&amp;gt;}MDate))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 03:22:58 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2021-10-06T03:22:58Z</dc:date>
    <item>
      <title>How to show variable when WeekFlag is 1</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842550#M1215346</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to show vWeekStart as 27/9/2021 and vWeekEnd as 3/10/2021 without any selection from the table below.&lt;/P&gt;&lt;P&gt;when the app is open....&lt;/P&gt;&lt;P&gt;How to show the vWeekStart when the WeekFlag is 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flag.PNG" style="width: 719px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/63479i2F3CADFAC6DFB159/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flag.PNG" alt="Flag.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 00:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842550#M1215346</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2021-10-06T00:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to show variable when WeekFlag is 1</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842566#M1215347</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vWeekStart&amp;nbsp; = Date(Min({&amp;lt;WeekFlag&amp;nbsp;={1}&amp;gt;}MDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vWeekEnd&amp;nbsp;= Date(Max({&amp;lt;WeekFlag&amp;nbsp;={1}&amp;gt;}MDate))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 03:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842566#M1215347</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-10-06T03:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to show variable when WeekFlag is 1</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842567#M1215348</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17306"&gt;@ashmitp869&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can set the variable expression as under:&lt;/P&gt;&lt;P&gt;vWeekStart=Max({$&amp;lt;WeekFlag={1}&amp;gt;}MDateWeekStart)&lt;BR /&gt;vWeekEnd=Max({$&amp;lt;WeekFlag={1}&amp;gt;}MDateWeekEnd)&lt;/P&gt;&lt;P&gt;Additionally, In case you want to ignore the user selection of the dates in the front end, replace the '$' above with '1' as the identifier inside the set expression above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 03:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-variable-when-WeekFlag-is-1/m-p/1842567#M1215348</guid>
      <dc:creator>NageshSG</dc:creator>
      <dc:date>2021-10-06T03:25:01Z</dc:date>
    </item>
  </channel>
</rss>

