let me ask your help for understanding the main logic of data flow task. I'm using ETL to load data into data warehouse (staging and dwh part too). Now I got a task to calculate data with the existing fields, but have to calculate by inventory data...
I would need the correct qty of remain_qty, Assigned_qty and in_progress_qty. (as in picture). but currently I don't see this result. It would be great to get it. I did the calculation process after the lookup get the list of inventory data.
Then check the actual temp data an other lookup. when it is not exist on temp by item, then insert the record, else just a simple update.. With this method I would do the calculation process.. I think on the next record system should re-query the temp table and query the actual data.. I mean with the quantity reduced. record by record. But now it looks after this two lookup I got the same result for every row. that means for me the temp table does not re-query inside of the data flow. Shall I use an other data flow for calculation? Or may I use the temp table inside of this dataflow, which may updated by records? Because I would re-query the actual inventory quantity by records..
..Thanks for reading!
Click here for picture! Hello guys, I have found a solution and made changes on the ETL process.. I have separated the data flow task and used stored procedure to re-calculate the data on temp table. Then the next data flow is able to query the updated data from temp and fill the fact table with correct quantity and price. That time I have learn the control flow and data flow processes. Now it is clear for me and the app is working fine. Thanks for the support!