<?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 restrict a measure? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324857#M28684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use dynamic variables in place of values.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2017 08:50:00 GMT</pubDate>
    <dc:creator>satheshreddy</dc:creator>
    <dc:date>2017-04-18T08:50:00Z</dc:date>
    <item>
      <title>How to restrict a measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324854#M28681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry if it sounds silly but i want to use a KPI to display sales for current quarter independently of what selection user make.&lt;/P&gt;&lt;P&gt;I tried Sum({&amp;lt;[Date.autoCalendar.YearQuarter]={'2017-Q1'}&amp;gt;}Sales) and it works.&lt;/P&gt;&lt;P&gt;How can I make the year-quarter value dynamic instead of fix value? I want the KPI to display current year-quarter data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 09:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324854#M28681</guid>
      <dc:creator />
      <dc:date>2017-04-16T09:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324855#M28682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a filter for YearQuarter and try use like &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;[Date.autoCalendar.YearQuarter]={"$(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;YearQuarter&lt;/SPAN&gt;))"}&amp;gt;}Sales) in the expression. Or you can even use a variable by assigning a value to it from input box.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324855#M28682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-17T08:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324856#M28683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try below given expression. This will show you Sales Total irrespective of current selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14924285413589804" jivemacro_uid="_14924285413589804" modifiedtitle="true"&gt;
&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;[Date.autoCalendar.YearQuarter]={&lt;SPAN style="font-size: 13.3333px;"&gt;"$(=Year(Today()) &amp;amp; '-Q' &amp;amp; If(Ceil(Month(Today())/3) &amp;gt;=2, Ceil(Month(Today())/3)-1, Ceil(Month(Today())/3) + 3))"&lt;/SPAN&gt;}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 11:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324856#M28683</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-17T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324857#M28684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use dynamic variables in place of values.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 08:50:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1324857#M28684</guid>
      <dc:creator>satheshreddy</dc:creator>
      <dc:date>2017-04-18T08:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict a measure?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1578585#M42186</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum&lt;/SPAN&gt;({$&amp;lt; &lt;STRONG&gt;Date.autoCalendar.YearQuarter&lt;/STRONG&gt; ={"&amp;gt;=$(=QuarterStart(Today(),0))&amp;lt;=$(=Today())"}&amp;gt;}&lt;SPAN&gt;Sales&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;otherwise try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum&lt;/SPAN&gt;({$&amp;lt; &lt;STRONG&gt;Date&amp;nbsp;&lt;/STRONG&gt;={"&amp;gt;=$(=QuarterStart(Today(),0))&amp;lt;=$(=Today())"}&amp;gt;}&lt;SPAN&gt;Sales&lt;/SPAN&gt;)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 15:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-restrict-a-measure/m-p/1578585#M42186</guid>
      <dc:creator>david_pearson</dc:creator>
      <dc:date>2019-05-09T15:53:12Z</dc:date>
    </item>
  </channel>
</rss>

