Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
TimoHart
Contributor III
Contributor III

Generic Load including IF statement / condition

Hi, 

following code work fine. However i need to FILTER all WBS which do not end with 142 from the master table. 

Master:
generic load
left("WBS Element",17),Status,"Oper./Act.", "Latest finish"

Resident StatusTable;

where and how to include a if condition to check the WBS String accordingly ? 
//if (right("WBS Element",3) = '142') then

// end if

Labels (2)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Master:
generic load
left("WBS Element",17),Status,"Oper./Act.", "Latest finish"
Resident StatusTable
where  right("WBS Element",3) = '142'
;

-Rob

View solution in original post

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Master:
generic load
left("WBS Element",17),Status,"Oper./Act.", "Latest finish"
Resident StatusTable
where  right("WBS Element",3) = '142'
;

-Rob