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: 
Anonymous
Not applicable

Measuring variation between columns

Hi

I have this Pivot Table, with 2 dimensions. One dimension is Product Id, and the 2nd one is Week, that I move it as an horizontal dimension. An the metric is Sales. So here I can quickly check sales per Product Week over Week and for example find out that Product 1 last week sales drooped a lot.

My questions are

1-How can I make an expression to measure variation over previous column?, instead of showing the sales value of the week.

2-How can I sort 1st dimension. Product Id, considering total sales Desc and not only last column.


Thanks in advance for you help!

Screenshot_4.jpg

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

1. Use something like sum(Sales)/before(sum(Sales))

2. Try sorting by expression. Perhaps =sum(Total <[Product Id]>Sales)


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

1. Use something like sum(Sales)/before(sum(Sales))

2. Try sorting by expression. Perhaps =sum(Total <[Product Id]>Sales)


talk is cheap, supply exceeds demand