Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Can you sum up 3 attributes into 1 attribute, whilst showing other attiributes...

i output the following..

error loading image

but what i want to do is take Other_Oth, Other - Loan Shortfall and Other Accountin Trading Book; Risk Banking Book and combine these into a new field called Other so the output looks like this:

error loading image

Is this possible? without a mapping table> My code for this is..

error loading image

Please help!

1 Reply
MVP
MVP

Can you sum up 3 attributes into 1 attribute, whilst showing other attiributes...

I'd handle it with the data model by adding an [Account Group] field:

[Account Groups]:
LOAD * INLINE [
Account Group, Account Description
Buy and Hold, Buy and Hold
Fees and Commissions, Fees and Commissions
Net Interest Margin/Net Carry - Other, Net Interest Margin/Net Carry - Other
New Trades, New Trades
Other, Other - Accounting Trading Book; Risk Banking Book
Other, Other - Loan Shortfall
Other, Other_OTH
Reserves_RES, Reserves_RES
];

You could left join this onto your main data if you didn't want an extra table. You could also make it a mapping table and map during the initial load. You could just use an if() during the load. In any case, the important part is just that you have an 'Other' account group that includes the desired account descriptions, and that you use the account group in the chart instead of the account description.

Community Browser