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

Correlation Analysis on two columns of a Pivot Chart

I need help in figuring out a way to do a correlation analysis on two columns of a Pivot Chart.

I have following two dimensions in my dataset

1. Trade Date

2. Exchange ( this has values like NYSE, NASDAQ, CME, etc)

and the Measure is

1. Trade Value ( numeric)

Question -

I created a Pivot chart on the above mention dataset. It looks something like below.

Is there an easy way to perform a correlation analysis on two columns of a Pivot Chart???

I want to perform Correl(NYSE, NASDAQ). These two columns are field values of the Dimension - Exchange.

Trade DateNYSENASDAQ

1/1/2014

32
1/2/2014416
1/3/2014515
1/4/2014126
1/5/2014914
13 Replies
Not applicable
Author

Yes.. Exaclty I want to perform Correl dynamically, based on various other selections.

Do you know of if it is possible to refer to entire column of Pivot Chart and use it in a function.

What I am thinking is - Lets say there was a way where I could refer to the second and Third column of Pivot Chart i.e and NYSE and NASDAQ and directly use it in Correl. Function

Correl ( PivotChart Column2, PivotChart Column3)

sunny_talwar

I don't think so... but you can look into Kaushik's suggestion of Generic load....

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Vaibhav,

The way the correl() function is created inbuilt, is it requires 2 fields which are coming from database.

So i think only way is generic load in your case. Try with a small data and see how it goes and then you can decide about using it with huge data set.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
jayanttibhe
Creator III
Creator III

Like Attached  ?

Correl() returns the aggregated correlation coefficient for two data sets. The correlation function is a measure of the relationship between the data sets and is aggregated for (x,y) value pairs iterated over the chart dimensions.