Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Compare Prices

Hi,

I’m trying to create a line chart that compares stock prices. I would like the prices to start at the same value. I’ve tried using the top function (Value / top(Value)), but it doesn’t seem to work. Any ideas?

My table looks like this:

Date

Stock

Value

01.01.2012

Stock A

100

01.01.2012

Stock B

10

01.01.2012

Stock C

300

02.01.2012

Stock A

102

02.01.2012

Stock B

9

02.01.2012

Stock C

310

03.01.2012

Stock A

105

03.01.2012

Stock B

8

03.01.2012

Stock C

320

Regards,

Tore

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Check the attached file for solution.

Regards,

Jagan.

View solution in original post

7 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Use Max(Value).

Celambarasan

Not applicable
Author

Do you mean Max(Value) / Top(Value)? I get the same result, see attached file.

Tore

jagan
Luminary Alumni
Luminary Alumni

Hi,

Can you explain what the output would be.

Regards,

jagan.

Not applicable
Author

Se the attached file. I've removed stock from dimension and used set analysis. I want the same output with stock as a dimension.

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Could you upload screen shot of that chart i cann't open your file because im using personal edition?

Celambarasan

Not applicable
Author

See attached file

jagan
Luminary Alumni
Luminary Alumni

Hi,

Check the attached file for solution.

Regards,

Jagan.