<?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 Error in calculation while using the logic in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-calculation-while-using-the-logic-in-dimension/m-p/1832699#M1214692</link>
    <description>&lt;P&gt;Hi there ,&lt;/P&gt;&lt;P&gt;I am using the if logic in dimension field -&lt;/P&gt;&lt;P&gt;=if((Interval(today()-max(daystart(Session_Start)),'D'))&amp;gt; 90 ,Name)&lt;/P&gt;&lt;P&gt;but its giving me Error in calculated dimension.&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;My requirement is to show the report when&amp;nbsp;(Interval(today()-max(daystart(Session_Start)),'D')) is greater than 90.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 23:35:54 GMT</pubDate>
    <dc:creator>ashmitp869</dc:creator>
    <dc:date>2021-08-31T23:35:54Z</dc:date>
    <item>
      <title>Error in calculation while using the logic in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculation-while-using-the-logic-in-dimension/m-p/1832699#M1214692</link>
      <description>&lt;P&gt;Hi there ,&lt;/P&gt;&lt;P&gt;I am using the if logic in dimension field -&lt;/P&gt;&lt;P&gt;=if((Interval(today()-max(daystart(Session_Start)),'D'))&amp;gt; 90 ,Name)&lt;/P&gt;&lt;P&gt;but its giving me Error in calculated dimension.&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;P&gt;My requirement is to show the report when&amp;nbsp;(Interval(today()-max(daystart(Session_Start)),'D')) is greater than 90.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 23:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculation-while-using-the-logic-in-dimension/m-p/1832699#M1214692</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2021-08-31T23:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculation while using the logic in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculation-while-using-the-logic-in-dimension/m-p/1832704#M1214693</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17306"&gt;@ashmitp869&lt;/a&gt;&amp;nbsp; You need to use aggr function while using any aggregation function in dimension. You can use this expression in measure instead. If you still want to use it in dimension then try below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=aggr(if((Interval(today()-max(daystart(Session_Start)),'D'))&amp;gt; 90 ,Name),Name)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;aggr(if((Interval(today()-max(daystart(Session_Start)),'D'))&amp;gt; 90 ,Name),Name,Session_Start)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;If there are other dimensions in your table, you need to include that as well in aggr function. check suppress null value option for this calculated dimension&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 23:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculation-while-using-the-logic-in-dimension/m-p/1832704#M1214693</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-08-31T23:48:28Z</dc:date>
    </item>
  </channel>
</rss>

