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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
tahirkhalil
Creator
Creator

Accumalation based on partial field names

Hi all,

I am stuck up in one project - I need to sum up based on partial field names, I have following three basic KPIs

1. PRO-Proposition

2. PLN-Planogram

3. SOS-Share of Shelf

I have all three fields for different product lines like Haircare, Skincare, Beverages etc. I got total 10 product lines and 3 KPIs which makes total 30 fields. Now, I have to present the accumulated/Sum of all three KPI based on Product Line like:

  

Product LineKPIPerformance
HaircarePLN12
PRO23
SOS10
BeveragesPLN11
PRO10
SOS13
SkincarePLN10
PRO9
SOS

11

How can I achieve that?

I have attached sample data for your reference.

I have attached again as it was found missing during post.

Regards,

Tahir

Message was edited by: Tahir Khalil - Sample Data File Attachment Missing

13 Replies
alex_millan
Creator III
Creator III

Are you sure that would do the trick? In some cases, the amount of data will not diminish dramatically, what's more, the difficulties to exploit this data will boost.

Perhaps, if the number of rows is an issue, you may go for a different approach trying to accumulate the data to the desired point in the script.

Hope that helps.

Cheers

tahirkhalil
Creator
Creator
Author

Can you please have a look - I have created a sample data.

I have created another table containing definitions - but the point it is selection based view - can we dig out more with this approach?

PradeepReddy
Specialist II
Specialist II

Try some thing like this.. see the attachmen !t...

If it did not caters your requirement, post the output what u want..!!

Thanks,

Pradeep

tahirkhalil
Creator
Creator
Author

Thanks Pradeep !

But again, I dont want crosstab functionality due to higher number of rows.