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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to Exclude other Field Values within same Fieldname?

Hi All,

How do i Assign or Exclude New Fields  like Below:

Code  as Frm,

if(Code>4,Code) as To,

Output:

Frm,

4,



To,

5,

6,

7,

8

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Data:

LOAD

     if(Frm<=4,Frm) as Frm,

     if(Frm>4,Frm) as To

FROM ....


talk is cheap, supply exceeds demand
PrashantSangle

Hi,

try like

load

if(code=4,Code) as Frm,

if(code>4,Code) as To

from table;

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 🙂