<?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: count of dimensional value with if condition against expression measure in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/count-of-dimensional-value-with-if-condition-against-expression/m-p/1756452#M58345</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74624"&gt;@qs123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just try this, using aggr&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if([User Access Last Used] ='Never', floor(date(now())) - floor(date([User Access Created])) , floor(date(now())) - floor(date([User Access Last Used])) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; 90,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;, [User Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 20:15:18 GMT</pubDate>
    <dc:creator>forte</dc:creator>
    <dc:date>2020-10-27T20:15:18Z</dc:date>
    <item>
      <title>count of dimensional value with if condition against expression measure</title>
      <link>https://community.qlik.com/t5/App-Development/count-of-dimensional-value-with-if-condition-against-expression/m-p/1756391#M58339</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Within the License Monitoring App, I have created a table with one dimension and one measure.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&amp;nbsp; = User Name&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Measure =&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;If user has never logged in, then count number of days since the License was allocated and today's date... Else count the number of days since the User was last logged and Today's date&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The expression I use is as this...&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;if([User Access Last Used] ='Never', floor(date(now())) - floor(date([User Access Created])) , floor(date(now())) - floor(date([User Access Last Used])) )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above expression is giving me expected result in the table. But I want to use a single value in KPI to show total number users who have been inactive since more then 90 days..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so..&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&amp;nbsp;how do I count total number of users, which has this measure value &amp;gt; 90 ?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/count-of-dimensional-value-with-if-condition-against-expression/m-p/1756391#M58339</guid>
      <dc:creator>qs123</dc:creator>
      <dc:date>2024-11-16T01:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: count of dimensional value with if condition against expression measure</title>
      <link>https://community.qlik.com/t5/App-Development/count-of-dimensional-value-with-if-condition-against-expression/m-p/1756452#M58345</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74624"&gt;@qs123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just try this, using aggr&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;if(&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if([User Access Last Used] ='Never', floor(date(now())) - floor(date([User Access Created])) , floor(date(now())) - floor(date([User Access Last Used])) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt; 90,1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;, [User Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 20:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/count-of-dimensional-value-with-if-condition-against-expression/m-p/1756452#M58345</guid>
      <dc:creator>forte</dc:creator>
      <dc:date>2020-10-27T20:15:18Z</dc:date>
    </item>
  </channel>
</rss>

