For your exact question: "I don't know"
You could get this to work by publishing both data sources to Tableau Data Server, however. You would:
- Publish each data source to Tableau Server (one with a full refresh, the other as incremental)
- Use the data sources on the Server instead of the ones in your workbook (you can easily swap them out)
- Refresh each of the data sources individually with TabCmd.
Thanks Russell. It worked.
One more question.
Lets say I have 3 datasources: DataSourceA, DataSourceB and DataSourceC. I want to refresh DataSourceC only after DataSourceA and DataSourceB are completely refreshed with no errors.
Is there any way to achieve this ? Below are the tabcmds that I am using.
tabcmd refreshextracts --incremental --synchronous --datasource "DataSourceA" --project 'ProjectABC'
tabcmd refreshextracts --synchronous --datasource "DataSourceB" --project 'ProjectABC'
tabcmd refreshextracts --datasource "DataSourceC" --project 'ProjectABC'
Appreciate your help.
You’d need to write a batch file which reads / parses the output of each of these commands, looking for a success or failure condition, and then firing the next command conditionally.