Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Transform current data (2 table is joined)

Dear Team,

xxx.PNG

I already combined two table using join. But now i want to transform my data as below. Please help. Thanks.

xxx1.PNG

a) Create new line item for each task with created status

b) Create new field "Month_Graph." & assign "Task Created" as its date.

1 Solution

Accepted Solutions
NZFei
Partner - Specialist
Partner - Specialist

When you use sum() or count(), you need to add group by!

Created:

load

    ....

    .... as Total

resident owssvr

group by Temp, month_created, [PSR No];

View solution in original post

4 Replies
Anonymous
Not applicable
Author

I almost done. But i cannot add this expression. Please advise. Thanks.

xxx1.PNG

Error:

xxx.PNG

stalwar1

Do you have any advise? Thanks.

NZFei
Partner - Specialist
Partner - Specialist

When you use sum() or count(), you need to add group by!

Created:

load

    ....

    .... as Total

resident owssvr

group by Temp, month_created, [PSR No];

PrashantSangle

try like

load temp,

     id_no,

     'created' as status,

     task_created as month_graph

from tablename;

concatenate

load temp,

     id_no,

     status,

     task_modified as month_graph

from tablename;

regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anonymous
Not applicable
Author

Thanks Fei Xu.