Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
tinkerz1
Creator II
Creator II

Arrange raw data table in to a list and dropping some fields

Hi,

This going to be hard to explain.

I have made a QVW, with an example.

The raw data has one to many relationships when a new issue is logged, there can be serveral actions relating to solving one issue.

When this information is presented to the forum we only need the original Issue and each action following on from that.

Also due to the database, any changes in a field not needed by the forum, a new line will created and exported to create the raw data. so I just need the last action field, an action is defined by and Action ID, I will still need all Actions per issue to be presented to the forum.

The output will be below, can anyone help me drop the issues I dont need from the 'crosstable from rawdata' straight table.

Its Issue ID 2 and Issue ID 4.

Thanks,

FieldValue
Issue - ID1
Issue - TitleDull Report
Issue - OwnerMr M
Action - ID1
Action - TitleFixed Dullness
Action - OwnerMr M
Issue - ID2
Issue - TitleGood Report
Issue - OwnerMr F
Action - ID1
Action - TitleFixed Formatting
Action - OwnerMr F
Action - ID2
Action - TitleFixed datafeed
Action - OwnerMr G
Issue - ID3
Issue - TitleLength of Report
Issue - OwnerMr S
Action - ID1
Action - TitleFix length
Action - OwnerMr B
Issue - ID4
Issue - TitleIncorrect datafeed
Issue - OwnerMr Y
Action - ID1
Action - TitleFix database
Action - OwnerMr S
Action - ID2
Action - TitleFix database again
Action - OwnerMr Y
1 Solution

Accepted Solutions
tinkerz1
Creator II
Creator II
Author

Ok solved

surpress zero values and make 2 expressions

=aggr(count(Field),Value,Field)

if(Field='Action - ID',1)

group by using 'only' in the load clause on the Issue-ID

Then the list will drop on duplicates in the Issue ID field but keep the sort order

View solution in original post

1 Reply
tinkerz1
Creator II
Creator II
Author

Ok solved

surpress zero values and make 2 expressions

=aggr(count(Field),Value,Field)

if(Field='Action - ID',1)

group by using 'only' in the load clause on the Issue-ID

Then the list will drop on duplicates in the Issue ID field but keep the sort order