Forum Discussion

coffjoh2004's avatar
coffjoh2004
Regular Visitor
3 years ago
Solved

3 data tables - circular relationship

I am creating a model with 3 data tables. The end goal is to create a tree/hierarchy that calculates total cost per number of work orders, by outage code, then by cost center, then by gang number. To...
  • vanessafvg's avatar
    vanessafvg
    3 years ago

    i think your transactional data probably needs adjusting, so work orders, merged tables and outages, how do they all relate to each other?  it might be better to denormalise this data, ie flattten as much as you can into one or 2 transactional tables, its about understanding how these processes fit together.    So does an outage have more than one work order?  in power query it might make sense to on these relationships to merge the tables together.   that way you wont have to work backwards because its in the same table.  Its about understanding if the granularity of the table changes and if it makes sense to do that.  Not sure if this makes sense.   You can always create a few rows of sample data in mockaroo an online free way to make sample data if that is easier.