Forum Discussion

dbltnk's avatar
dbltnk
Frequent Visitor
9 years ago
Solved

How do I calculate something based on values in two different tables?

Hello again,   I'm still working on analytics data from a two-player strategy game.   I have two different, connected tables (connected via an ID). One table knows how often a specific unit was p...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Ya, apologies for screwing these up -- either of these should get you going :)

     

    Total Sets 1 = SUMX(logic_product_unit, DIVIDE(1, RELATED(Units_v025[Units Per Set])))

    Total Sets 2 = SUMX(Units_v025, DIVIDE(COUNTROWS(RELATEDTABLE(logic_production_unit)), Units_v025[Units Per Set]))