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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Using Like Function in load Script

i have loaded some data into QlikView but i am now trying to create a data island. i want to load previoulsy loaded data but this time only when it begins with A. To do this i have used the like function but QlikView doesn't seem to recognise it - has anyone any suggestions on what i can use - maybe something like begins with

What i currently have in my script is below



FundDataIsland: load [Fund Name] as FundIsland

// FUND NAME IS NAME OF PREVIOUSLY LOADED DATA







Resident FundName

// FundName is name of previous table where data was loaded





where [Fund Name] like '%A%';

// THIS IS WHERE I AM TRYING TO TELL IT TO ONLY LOAD FUNDS WHERE THE NAME BEGINS WITH A









Labels (1)
1 Reply
Miguel_Angel_Baeyens
Support
Support

Hi,

Use one of the following:

FundDataIsland:load [Fund Name] as FundIsland// FUND NAME IS NAME OF PREVIOUSLY LOADED DATAResident FundName // FundName is name of previous table where data was loadedwhere LEFT([Fund Name], 1) = 'A';


or

FundDataIsland: load [Fund Name] as FundIsland// FUND NAME IS NAME OF PREVIOUSLY LOADED DATAResident FundName // FundName is name of previous table where data was loadedwhere WildMatch([Fund Name], 'A*');


That should work.

Regards