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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Table distribution in QV

Hi, I have a table shown as below.

yearProductSale
2011APercentile(A,0.5)
2011BPercentile(B,0.5)
2011CPercentile(C,0.5)
2009APercentile(A,0.5)
2009BPercentile(B,0.5)
2009CPercentile(C,0.5)
2008APercentile(A,0.5)

How can i switch it to the table shown like this?

dateABC
2011Percentile(A,0.5)Percentile(B,0.5)Percentile(C,0.5)
2009Percentile(A,0.5)Percentile(B,0.5)Percentile(C,0.5)
2008Percentile(A,0.5)Percentile(B,0.5)Percentile(C,0.5)

Thanks so much!

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

11 Replies
its_anandrjs
Champion III
Champion III

Sorry for response late

Load cross table for the given data but you can use pivot table will be good idea for this

Take a pivot table

Dimension:- year

Dimension:- Product

Expression:- Sale

See the attached snap shot

Pivotview.png

After adding of the Dimension and Expression Drag a product dimension over the sales expression upper right corner of the chart for pivoting.

Regards

alexandros17
Partner - Champion III
Partner - Champion III

Here it is

maxgro
MVP
MVP

you can use a pivot chart with

dimensions     year

                     Product

expression     sale

SunilChauhan
Champion II
Champion II

use same as Massimo grossi

but Drag Product dimension from vertical to hozonatal at the top of Sale

Thanks

Sunil Chauhan
Not applicable
Author

Thanks All!

May be I did not describe my question clearly.

I want to get the median value of sale for the sale column. When I use the pivot table I could not Drag Product dimension from vertical to hozonatal at the top of Sale.

I use the cross table in the script for another table so is there anther method instead of cross table?

alexandros17
Partner - Champion III
Partner - Champion III

Have you seen my example?

Let me know!

Not applicable
Author

Yes! I have seen your example and I can drag the product in your example. But I could not drag when I put 'Fractile(sale,0.5)' for the Sale column.....

Not applicable
Author

I just copy your example and load my data, it works!!! I don't what happy with my previous one.....

Thanks so much for your help!

alexandros17
Partner - Champion III
Partner - Champion III

If you want you may mark my answer ...