Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
twills12
Contributor III
Contributor III

calculated field in load calculation

Is it possible to create/use a calculated field on the load where you reference itself?

Exercises:

Load * Inline [

ID, Exercise, Date, Result

x, x, x, x

x, x, x, x

];

NewTable:

load *,

if(previous(Status) = 'Tier1', 'Tier2', 'Tier1') as Status

Resident Exercises;

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this.

if(Peek(Status) = 'Tier1', 'Tier2', 'Tier1') as Status


Regards,

Kaushik Solanki

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

View solution in original post

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Try this.

if(Peek(Status) = 'Tier1', 'Tier2', 'Tier1') as Status


Regards,

Kaushik Solanki

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

That did it!  Peek instead of Previous... now I know.  Thanks!!!!