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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
raadwiptec
Creator II
Creator II

Max

I have 2 Different Tables which does not have any matching Columns

Table A

SalesID

Location 

Sales amount

Retro amount

Written amount

 

Table B

Account ID

Gross Amount

signed amount

I would like to take Max(Min(Max(Min(Max of Sales Amount and Gross Amount...,0),Signed Amount),Retro Amount),0)

and would like to do only on script

Labels (2)
3 Replies
Kushal_Chawda
MVP
MVP

@raadwiptec  can you please elaborate

raadwiptec
Creator II
Creator II
Author

I have 2 files which i have loaded as Table A and Table B in the Load script ... Loaded as below 

Table A

SalesID

Location 

Sales amount

Retro amount

Written amount

 

Table B

Account ID

Gross Amount

signed amount

 

I would like to make a new field  Called 'Range' -- > Max(Min(Max(Min(Max of Sales Amount and Gross Amount...,0),Signed Amount),Retro Amount),0) . But i would like to put this the new field using script;

 

Is this possible to link  these tables somehow and then create this new field .?

Kushal_Chawda
MVP
MVP

@raadwiptec  Can you share sample example with expected output?