Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
PhilipR
Contributor
Contributor

Deriving Transaction Data from Snapshot Data?

Hi,

I'm working on a dashboard to track project progress.  The data source I have only provides snapshot information (how many total hours were completed for a project,) which we could pull weekly--or daily if needed.  I'd like to convert this to transnational records showing how many hours were worked on a project in a given week.   I'v been playing with different ways to loop through the dataset, but I feel like I'm missing something obvious.  Could any of you experts help?

My source data looks like:

REPDATEPIDPNAMEESTHOURSCOMPHRS-BALREMHOURS-BAL
5/6/201910Claims Dash40535
5/6/201920Buy Model20020
5/6/201930Loss Runner20218
5/6/201940Premium Bdx50347
5/13/201910Claims Dash40931
5/13/201920Buy Model20218
5/13/201925Sell Model20515
5/13/201930Loss Runner20416
5/13/201940Premium Bdx501535
5/13/201950Excel Proj10100

 

And my target table looks something like:

REPDATEPIDPNAMECOMPHRS-PERIOD
5/6/201910Claims Dash5
5/6/201920Buy Model0
5/6/201930Loss Runner2
5/6/201940Premium Bdx3
5/13/201910Claims Dash4
5/13/201920Buy Model2
5/13/201925Sell Model5
5/13/201930Loss Runner2
5/13/201940Premium Bdx12
5/13/201950Excel Proj10

 

Assuming we will be adding projects along the way.  

What's the best approach?

 

Phil

Labels (6)
0 Replies