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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

stuck with where script while loading data.

Codeclass

amount

ACLoss12
BCGain25
CCTenure56

how to write script for code,class dimensions for calculating measure Loss Ratio.

Let say to calculate Loss Ratio the condition is it should take while loading in script. 

Code='AC','CC' &Class='Loss','Tenure' .how to write code in edit script

1 Solution

Accepted Solutions
Not applicable
Author

Do you mean like below:

LOAD

*

Resident TableName

where Match(Code,'AC','CC') and Match(class,'Loss','Tenure');

View solution in original post

4 Replies
PrashantSangle

Hi,

Write

If(wildmatch(code,'AC','CC') AND wildmatch(Class,'Loss'),Tenure) as NewTenure

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Do you mean like below:

LOAD

*

Resident TableName

where Match(Code,'AC','CC') and Match(class,'Loss','Tenure');

ajaykumar1
Creator III
Creator III

Hi,

Whats your expected output? is it 68?

Regards,

Ajay

Anonymous
Not applicable
Author

Thank for your response working on real data if it works I will close discussion