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: 
Darmesh
Contributor III
Contributor III

replace a value to NA when it is greater than -100

Hi,

 

i need to replace a value to NA when it is greater than -100.

 

 i tried a this expression but throwing error.

row5.Adjusted_PAT_Rs_m_YOY_3>="-100"?"NA":row5.Adjusted_PAT_Rs_m_YOY_3

or

row5.Adjusted_PAT_Rs_m_YOY_3>=-100?"NA":row5.Adjusted_PAT_Rs_m_YOY_3

 

0683p000009M7N9.jpg0683p000009M7gP.jpg0683p000009M7n5.jpg

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Use this expression
Integer.parseInt(row5.Adjusted_PAT_Rs_m_YOY_3)>= -100 ? "NA" : row5.Adjusted_PAT_Rs_m_YOY_3

View solution in original post

1 Reply
TRF
Champion II
Champion II

Use this expression
Integer.parseInt(row5.Adjusted_PAT_Rs_m_YOY_3)>= -100 ? "NA" : row5.Adjusted_PAT_Rs_m_YOY_3