Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
james_hanify
Creator
Creator

Pivot table split up

Hi,

I don't know whether this is possible but this is what I would like to achieve.

Format / Example Data of how I would like it to look like is:

CustomerCustomer NameSectorYears with companyNumber of orders

Revenue

ServicesProductBothTotalServicesProductTotal
1AZZ12226100200300
2BYY2111350200250
3CZZ321147090160

The best i've been able to do is based on the attachment, using an if statement to create the difference between a product and a service, as the if statement to count the revenue didn't seem to work when I removed that dimension, it would just assigned it to the first one.

I'm also unsure about the product and services on how to do this as the data structure is

Order

Order number (o1234)

Order Details

Order Number, Item (x1234)

ItemDetails

Item, Item Name, Product Type (apple)

I have then been doing an if statement to say if product type = service, its a service, if it isn't its a product.

Hopefully you can provide some input even if I am being a bit vague.

Many thanks,

james

2 Replies
settu_periasamy
Master III
Master III

Hi James,

sorry for not getting. which one is your base data, and how do you want to show the data?

james_hanify
Creator
Creator
Author

Ah sorry my base data (updated the original post too) format in its basic form

Order

Order number (o1234)

Order Details

Order Number, Item (x1234)

ItemDetails

Item, Item Name, Product Type (apple)

How I want to show it is the table.