Forum Discussion
JC2022
Helper III
3 years agoSum per category in another table
Hi, How do I create a measure where I calculate the TT_HRS[TT_Hours] per TT_ACT[Category]?
FreemanZ
Super User
3 years agoDo you have more info about the relationship between TT_HRS and TT_ACT? What are the two linked columns?
JC2022
Helper III
3 years agoThe link is:
TT_ACT[Activity ID] one-to-many TT_HRS[TT_ACT_ID]
- FreemanZ3 years ago
Super User
try to create a measure with this:Measure =CALCULATE(SUM(TT_HRS[TT_Hours]),USERELATIONSHIP(TT_ACT[Activity ID],TT_HRS[TT_ACT_ID]))you would need to plot a Visual with TT_ACT[Category].