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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewaf
Creator
Creator

Pivot table - Sum by customer

Hi,

i have a pivot table where i have several rows for a customer like

Customer  ,  Line , Sales

A,1, 100

A,2,400

A,3,500

B,4,100

B,5,100

 

How can i calculate total by customer on the pivot that is repeated for each row ? like follow

Customer  ,  Line , Sales, total

A,1, 100, 1000

A,2,400, 1000

A,3,500, 1000

B,4,100, 200

B,5,100, 200

 

Thank you

1 Reply
melghandour89
Partner - Contributor III
Partner - Contributor III

try to create a measure for total as :Sum(Sales)  and dimension for customer