<?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: Creating a Calculated Dimension With Nested If Function, Based on Values on a Linked Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2419509#M1225309</link>
    <description>&lt;P&gt;Thank you. I'm afraid I have another problem though. &lt;BR /&gt;&lt;BR /&gt;I wanted to use this expression as a filter pane with both options, but it's only showing "1 Year +" as an option. I wanted to be able to filter Incident IDs based on the highest-level employee involved in the incident, where Employees are linked together by similar Incident IDs (I realize I have to also include Incident_ID into the expression).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate any advice with this.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 13:36:49 GMT</pubDate>
    <dc:creator>bdickinson3</dc:creator>
    <dc:date>2024-02-15T13:36:49Z</dc:date>
    <item>
      <title>Creating a Calculated Dimension With Nested If Function, Based on Values on a Linked Table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2416735#M1225265</link>
      <description>&lt;P&gt;I have been attempting to create a calculated dimension that calculates the values in a column to a table linked through an ID. &lt;BR /&gt;&lt;BR /&gt;=if(Count([Employee.Level] = '01') &amp;gt;= 1 AND Count([Employee.Level] = '02') &amp;lt; 1 AND Count([Employee.Level]] = '03') &amp;lt; 1 AND Count([Employee.Level] = '04') &amp;lt; 1 AND Count[Employee.Level] = '05') &amp;lt; 1, 'New Hire', '1 Year+')&lt;BR /&gt;&lt;BR /&gt;The expression editor says that the script is okay, but whenever I close out of it it claims it as an invalid dimension.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2416735#M1225265</guid>
      <dc:creator>bdickinson3</dc:creator>
      <dc:date>2024-02-08T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Calculated Dimension With Nested If Function, Based on Values on a Linked Table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2416737#M1225266</link>
      <description>&lt;DIV&gt;The expression is OK as measure, but not as dimension. You cannot have aggregation functions in a dimension, unless you use Aggr().&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;So, the question is: Per WHAT do you want to calculate all these counts? Per department? Per month? Per Employee category? You need an internal iterator - a dimension in the Aggr(). If it is per Department, you should use:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;=Aggr(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; if( Count([Employee.Level] = '01') &amp;gt;= 1 AND&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Count([Employee.Level] = '02') &amp;lt; 1 AND&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Count([Employee.Level]] = '03') &amp;lt; 1 AND&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Count([Employee.Level] = '04') &amp;lt; 1 AND&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Count[Employee.Level] = '05') &amp;lt; 1,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 'New Hire',&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; '1 Year+'&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Department&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2416737#M1225266</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2024-02-08T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Calculated Dimension With Nested If Function, Based on Values on a Linked Table</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2419509#M1225309</link>
      <description>&lt;P&gt;Thank you. I'm afraid I have another problem though. &lt;BR /&gt;&lt;BR /&gt;I wanted to use this expression as a filter pane with both options, but it's only showing "1 Year +" as an option. I wanted to be able to filter Incident IDs based on the highest-level employee involved in the incident, where Employees are linked together by similar Incident IDs (I realize I have to also include Incident_ID into the expression).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate any advice with this.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 13:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Calculated-Dimension-With-Nested-If-Function-Based-on/m-p/2419509#M1225309</guid>
      <dc:creator>bdickinson3</dc:creator>
      <dc:date>2024-02-15T13:36:49Z</dc:date>
    </item>
  </channel>
</rss>

