<?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: populate a field based on multiple other fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723298#M723091</link>
    <description>&lt;LI-CODE lang="markup"&gt;Error in expression : count takes 1 parameter&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 29 Jun 2020 22:32:33 GMT</pubDate>
    <dc:creator>sekrish</dc:creator>
    <dc:date>2020-06-29T22:32:33Z</dc:date>
    <item>
      <title>populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722364#M723071</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a table with tasks and subtasks&lt;BR /&gt;&lt;BR /&gt;task1&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask1&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask1_status&lt;BR /&gt;task1&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask2&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask2_status&lt;/P&gt;&lt;P&gt;task2&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask1&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask1_status&lt;BR /&gt;task2&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask2&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask2_status&lt;/P&gt;&lt;P&gt;task2&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask3&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask1_status&lt;BR /&gt;task3 &amp;nbsp; &amp;nbsp;subtask1&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask1_status&lt;/P&gt;&lt;P&gt;task3 &amp;nbsp; &amp;nbsp;subtask2&amp;nbsp; &amp;nbsp; &amp;nbsp;subtask2_status&lt;BR /&gt;&lt;BR /&gt;I would like to populate a new field task_status that will say 'done' if all the subtask_status are done or 'In progress' if even one subtask is in progress. I am guessing this will need to be done using set analysis, but how would i go about it?&lt;BR /&gt;also need to know how this would work if tasks and subtasks are in different tables (joined by a task_number)&lt;BR /&gt;&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722364#M723071</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2024-11-16T00:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722375#M723072</link>
      <description>&lt;P&gt;If you have two tables and joined by task ID, try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Load * Inline [
Task ID,	Task
1,	ABC
2,	DEF
3,  XYZ
]
;
B:		
Load
	*,
	If(Status='Done', 1, 2) as Status_num
;	
LOAD * INLINE [
    Task ID, Sub Task, Status
    1, 1, Done
    1, 2, In Progress
    1, 3, Done
    2, 1, Done
    2, 2, Done
    2, 3, Done
    3, 1, Done
    3, 2, Done
    3, 3, In Progress
    3, 4, In Progress
];

Left Join(B)
Load 
		[Task ID],
		1 as Good_Flag
Where 
Check=1
;
		
Load
		[Task ID],
		Max(Status_num) as Check
Resident B
Group by [Task ID]
;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your expression use Good_Flag={1}&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 21:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722375#M723072</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-25T21:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722731#M723073</link>
      <description>&lt;P&gt;this seems to be on the load script editor side. can we do this in the chart table, by saying,&lt;BR /&gt;'if status of all subtasks&amp;nbsp; in this row with this task id is done then task_status='Y' else 'N' ' ?&lt;BR /&gt;&lt;BR /&gt;how would i translate this to set analysis syntax in the chart?&lt;BR /&gt;&lt;BR /&gt;say assuming tables as below (as previously mentioned)&lt;BR /&gt;&lt;BR /&gt;Tasks_Table&lt;/P&gt;&lt;TABLE width="214"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="85"&gt;Task_Number&lt;/TD&gt;&lt;TD width="129"&gt;Task_Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task1&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task2&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task3&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Subtask_Table&lt;/P&gt;&lt;TABLE width="356"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="85"&gt;Task_Number&lt;/TD&gt;&lt;TD width="129"&gt;Subtask_Number&lt;/TD&gt;&lt;TD width="142"&gt;SubTask_Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task1&lt;/TD&gt;&lt;TD&gt;Subtask1&lt;/TD&gt;&lt;TD&gt;Done&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task1&lt;/TD&gt;&lt;TD&gt;Subtask2&lt;/TD&gt;&lt;TD&gt;Done&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task1&lt;/TD&gt;&lt;TD&gt;Subtask3&lt;/TD&gt;&lt;TD&gt;In Progress&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task2&lt;/TD&gt;&lt;TD&gt;Subtask1&lt;/TD&gt;&lt;TD&gt;Done&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task2&lt;/TD&gt;&lt;TD&gt;Subtask2&lt;/TD&gt;&lt;TD&gt;Done&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Task3&lt;/TD&gt;&lt;TD&gt;Subtask1&lt;/TD&gt;&lt;TD&gt;In Progress&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 26 Jun 2020 20:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722731#M723073</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-26T20:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722758#M723074</link>
      <description>&lt;P&gt;One solution in Script.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Tasks_Table:
LOAD * INLINE [
    Task_Number
    Task1
    Task2
    Task3
];

Subtask_Table:
LOAD * INLINE [
    Task_Number, Subtask_Number, SubTask_Status
    Task1, Subtask1, Done
    Task1, Subtask2, Done
    Task1, Subtask3, In Progress
    Task2, Subtask1, Done
    Task2, Subtask2, Done
    Task3, Subtask1, In Progress
];

tab1:
LOAD Task_Number, If(Concat(DISTINCT SubTask_Status)='Done', 'Y', 'N') As Task_Status
Resident Subtask_Table
Group By Task_Number
;

Drop Table Tasks_Table, Subtask_Table;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Jun 2020 23:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722758#M723074</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-26T23:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722760#M723075</link>
      <description>&lt;P&gt;Output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV86.PNG" style="width: 170px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36399i168D21E183D0BD05/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV86.PNG" alt="commQV86.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 23:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722760#M723075</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-26T23:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722761#M723076</link>
      <description>&lt;P&gt;Front end solution.&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Subtask_Table:
LOAD * INLINE [
    Task_Number, Subtask_Number, SubTask_Status
    Task1, Subtask1, Done
    Task1, Subtask2, Done
    Task1, Subtask3, In Progress
    Task2, Subtask1, Done
    Task2, Subtask2, Done
    Task3, Subtask1, In Progress
];&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 26 Jun 2020 23:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722761#M723076</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-26T23:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722763#M723077</link>
      <description>&lt;P&gt;Dimension: Task_Number&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Concat(DISTINCT SubTask_Status)='Done', 'Y', 'N')&lt;/LI-CODE&gt;&lt;P&gt;Output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV87.PNG" style="width: 396px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36400iC3D97A2224C8D825/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV87.PNG" alt="commQV87.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 23:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722763#M723077</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-26T23:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722820#M723078</link>
      <description>&lt;P&gt;Hi, a bit of a newbie to qlik. Do you mean i should create the inline table for task and subtasks in the script editor for the front end solution before the&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;If(Concat(DISTINCT SubTask_Status)='Done', 'Y', 'N')&lt;/PRE&gt;&lt;P&gt;?&lt;BR /&gt;&lt;BR /&gt;there aIready exist task and subtask tables, both containing the task_number field, being loaded by the load script editor.&amp;nbsp; I tried just the above expression as a dimension, but while the expression is valid, i get invalid dimension. Could it be because the subtask_status can be null in some cases?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 18:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722820#M723078</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-27T18:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722825#M723079</link>
      <description>&lt;P&gt;Yes, you have run the Inline Script to get the data.&lt;/P&gt;&lt;P&gt;Then the Dimension is&amp;nbsp;&lt;SPAN&gt;Task_Number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Use the below Expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Concat(DISTINCT SubTask_Status)='Done', 'Y', 'N')&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 27 Jun 2020 19:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722825#M723079</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-27T19:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722840#M723080</link>
      <description>&lt;P&gt;but the task table and subtask table are currently read from a qvd in the load script editor and the contents are changed periodically and contain 1000's of rows. how would i create the new table inline in the chart script editor in this case...also some of the tasks dont contain subtasks...&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2020 22:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722840#M723080</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-27T22:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722844#M723081</link>
      <description>&lt;P&gt;Ok, I was not clearly explained to you. The Inline Loads will be replaced with QVDs like below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Tasks_Table:
LOAD Task_Number
From Your_Task_Qvd.Qvd (qvd);

Subtask_Table:
LOAD Task_Number, Subtask_Number, SubTask_Status
From Your_SubTask_Qvd.Qvd (qvd);&lt;/LI-CODE&gt;&lt;P&gt;It doesn't matter if a Task has SubTask or not. Please try to run with your live data and share the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2020 01:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1722844#M723081</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-28T01:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723144#M723082</link>
      <description>&lt;P&gt;still a bit unclear on this. So are you saying all of the below should be in the expression editor for the table dimension?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Tasks_Table:
LOAD Task_Number
From Your_Task_Qvd.Qvd (qvd);

Subtask_Table:
LOAD Task_Number, Subtask_Number, SubTask_Status
From Your_SubTask_Qvd.Qvd (qvd);

If(Concat(DISTINCT SubTask_Status)='Done', 'Y', 'N')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the last part (If statement) is valid for the expression but the rest is not.. also the qvd files are already loaded in the load script editor. why load them again?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 14:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723144#M723082</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-29T14:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723153#M723083</link>
      <description>&lt;P&gt;It's two different solutions we are talking about here.&lt;/P&gt;&lt;P&gt;Either create a column while you're loading your QVD as suggested by me or Saran&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your script will look like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Tasks_Table:
LOAD Task_Number
From Your_Task_Qvd.Qvd (qvd);

Subtask_Table:
LOAD Task_Number, Subtask_Number, SubTask_Status,If(Status='Done', 1, 2) as Status_num
From Your_SubTask_Qvd.Qvd (qvd);
Left Join(B)
Load 
		[Task ID],
		1 as Good_Flag
Where 
Check=1
;
		
Load
		[Task ID],
		Max(Status_num) as Check
Resident B
Group by [Task ID]
;&lt;/LI-CODE&gt;&lt;P&gt;and use Task_Number as Dimension, your expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Good_Flag=1, 'Good', 'Pending')&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Good_Flag=1, 'Y', 'N')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Try this if you want to use a calculated dimension&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(Aggr(Rank(SubTask_Status),Task_Number)=1, 'Y', 'N')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723153#M723083</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-29T15:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723158#M723084</link>
      <description>&lt;P&gt;My suggestion would be to create the flag at Script level as Calculated Dimensions would be&amp;nbsp;re-calculated every time the user clicks.&amp;nbsp;&lt;SPAN&gt;Response times will be faster if the field is calculated in the script.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 15:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723158#M723084</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-29T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723183#M723085</link>
      <description>&lt;P&gt;Hi Vamsee, thanks for the clarification. the front end approach does seem to be causing a lot of reloading.&lt;BR /&gt;&lt;BR /&gt;Could you help me understand your code for the script? what is the '1','2' etc...? My Subtask_status is purely alphabetic - 'Done' , 'In progess' etc... another issue is that my subtasks table is really json data received from the REST connector, so its really 3 tables joined together. subtask_num, and subtask_status are seperate tables (joined by FK). what is the subtask ID? is it different from the subtask_number or was that just an oversight? what is the purpose of the CHECK, GOOD_FLAG and the left join etc...&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 17:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723183#M723085</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-29T17:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723255#M723086</link>
      <description>&lt;P&gt;AS a workaround, I am thinking of displaying just a count of the number of subtasks that are not in 'Done' or '' state. Even that is giving me issues&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count($&amp;lt;Subtask_Status={'Done'}&amp;gt;)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;appreciate the assistance&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 20:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723255#M723086</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-29T20:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723272#M723087</link>
      <description>&lt;P&gt;If you have millions of records, then using calculated dimensions would increase Calc Time on your charts. In simple words, the charts would take longer to show data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just defined Good as 1 and 2 as In Progress, as I prefer my flags to be numbers (When they are not bein displayed to the end users). If you feel uncomfortable with renaming, you can use Saran's approach too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data source is not an issue here, as its already been stored in a qvd. I didn't rename the field names from my initial post,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Task ID is your Task_Number.&lt;/P&gt;&lt;P&gt;According to my understanding, for each task number you have multiple sub-tasks, out of which one, none or all can have status as done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you want a chart to display all the task numbers which are completely done, all the sub-tasks under the task number have to be done, i.e. the data has to be checked at Task Number level not at Sub Task level. To achieve this solution, we are grouping by Task_Number.&lt;/P&gt;&lt;P&gt;As explained earlier, the script level approach creates a flag "Good_Flag", which can be used in expressions. And, when set to 1 would display only the good Task_numbers.&lt;/P&gt;&lt;P&gt;You can use this Flag in multiple charts, instead of creating calculated dimensions in every one of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 20:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723272#M723087</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-29T20:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723273#M723088</link>
      <description>&lt;P&gt;To Tasks in Done state&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Subtask_Status={'Done'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To Tasks which are not Done&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Subtask_Status-={'Done'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 20:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723273#M723088</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-29T20:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723290#M723089</link>
      <description>&lt;P&gt;sorry to be taking this in a different direction but&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count($&amp;lt;Subtask_Status-={'Done'}&amp;gt;)&lt;/LI-CODE&gt;&lt;P&gt;gives me an 'error&amp;nbsp; in expression'. also to account for tasks without a subtask (status), should this be something like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count($&amp;lt;Subtask_Status-={'Done'},$&amp;lt;Subtask_Status-={''}&amp;gt;)&lt;/LI-CODE&gt;&lt;P&gt;?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 22:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723290#M723089</guid>
      <dc:creator>sekrish</dc:creator>
      <dc:date>2020-06-29T22:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: populate a field based on multiple other fields</title>
      <link>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723296#M723090</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Count(&lt;FONT size="5" color="#FF0000"&gt;{&lt;/FONT&gt;$&amp;lt;Subtask_Status-={'Done'}&amp;gt;&lt;FONT size="5" color="#FF0000"&gt;}&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;It can be&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count(&lt;FONT size="5" color="#FF0000"&gt;{&lt;/FONT&gt;$&amp;lt;Subtask_Status-={'Done', ' '}&amp;gt;&lt;FONT size="5" color="#FF0000"&gt;}&lt;/FONT&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 22:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-a-field-based-on-multiple-other-fields/m-p/1723296#M723090</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2020-06-29T22:21:27Z</dc:date>
    </item>
  </channel>
</rss>

