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

Result not included due to the value '-'

I have a column (xamt) that has a value of an amount, a  -0-, a null and sometimes a ' '.   The result of this shows '-' in qlikview.   If I try to select ranges of 0-100 using totusd, some records are not included because the value is '-'.  I

if ((cur)= 'USD',(xamt),((xamt)*(rt))) as totusd

1 Reply
yura_ratu
Partner - Creator II
Partner - Creator II

Hi,

Try this:

if (cur = 'USD', RangeMax(0, xamt), RangeMax(0, xamt) *rt) as totusd