You cannot change order of DP once its created.
Either it has to be recreated or if its not possible then a VB code snippet can be used to run the DPs selectively.
In your new document, you might be able to help speed up your work by using the Copy Data Providers/Copy Variables utility that Dwayne Hoffpauir wrote and submitted to Bob’s Downloads.
If the first query uses in its condition the results of the second query then BusObj is smart enough to recognize it and it automatically refreshes the second query first and then the first query.
Unfortunately no.
I had to create a new data provider from the second, replace all the variables,… recreate the first in second and then delete the oldest version of data provider.
Thanks to Anita, the next time, it will be quicker.
Have a look at the attached example. The report that is based on eFashion universe contains 2 data providers. The selection of the state is done in the 2nd DP and the result of it is then used in the condition of the 1st DP.
BusObj knows that the 1st DP depends on the 2nd one so it runs the 2nd DP as first and only then it runs the 1st DP. changed_order_of_DP_execution.rep (64.0 KB)