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: 
kpark06334
Contributor
Contributor

Script to add column to table using minimum value

Hi,

I'm new to Qlickview and I need to add a columns to the table loaded that has calculated minimum value each time a variable change.  MinVal, StartDate column below is what i'm looking for.  MinVal stores minimum VALUE for each corresponding NAME.  StartDate stores first date with value corresponding to the NAME.  Thank you for your help.

 NAME  DATE  VALUE  MinVal  StartDate 
 A 1/1/2019           1.002/1/2019
 A 2/1/2019          1.00          1.002/1/2019
 A 3/1/2019          2.00          1.002/1/2019
 B 1/1/2019          5.00          5.001/1/2019
 B 2/1/2019          6.00          5.001/1/2019
 C 3/1/2019          3.00          3.003/1/2019
 C 4/1/2019          4.00          3.003/1/2019
 C 5/1/2019          5.00          3.003/1/2019

 

Labels (4)
1 Solution

Accepted Solutions
albertovarela
Partner - Specialist
Partner - Specialist

Take a look at the attached qvw.

I hope it helps...

seta.png

 

View solution in original post

2 Replies
albertovarela
Partner - Specialist
Partner - Specialist

Take a look at the attached qvw.

I hope it helps...

seta.png

 

kpark06334
Contributor
Contributor
Author

Thank you!