Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load data only if a criteria is met

I am trying to do the following :

load accounts that have a  type "Headquarters"  as Parent Account. I want to do this when data is loaded.

Note data is coming from salesforce.

Is this possible to do in the edit script?

4 Replies
thomas_skariah
Creator III
Creator III

Hi Victor,

The application must reload only when account type is 'headquarters'?

Otherwise no need to reload.Is it right.

Regards,

Tom

Not applicable
Author

Almost.  The account will always reload. What i would like to happen is that when it loads the Accounts, to take all the accounts that have an account type of "Headquarters" to load in a dimension called Parent Account.

Hope I explained it.

thomas_skariah
Creator III
Creator III

Hi Victor,

Sorry if i didn't got your point.

You can do the following the code in your edit script.

Load Parent Account

from test.xls

where account_type='Headquarters';

Regards,

Tom

Not applicable
Author

Thank you Tom for the info. What if I am bringing the data in from SalesForce? Will the code be the same?