Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
david_smee
Contributor II
Contributor II

Using a value from a column based on condition to create a new value.

I am trying to get a value from a column based on a condition(row value) and use that to calculate a new value

david_smee_0-1689109059902.jpeg

 

I want to use the value in column B where column A Value = "A" and divide it into the value in Column B to create a new column

Example

Row 2 = 6.5 / 8.9 = 73.03

Row 3 = 3.5 / 8.9 = 39.32

Row 4 = 12/8.9 = 134.83

 

Any ideas how I can do this?

Labels (1)
1 Reply
david_smee
Contributor II
Contributor II
Author

Figured it out.  I created a variable and used the variable in the expression in the chart