Forum Discussion

wkeicher's avatar
wkeicher
Icon for Helper III rankHelper III
7 years ago
Solved

Calculating Event duration Hours by Resource and Date

I have a Table of events. Each Event has a date & duration( in hours). Each Event has a resource assigned through a relationship with an assignment table. . I am trying to build a visual of hours by ...
  • parry2k's avatar
    parry2k
    7 years ago

    wkeicher issue is with resource table on many side. Either change the cross filter direction of relationship to both or write a measure use CROSSFILTER function in it.

  • Anonymous's avatar
    Anonymous
    7 years ago

    wkeicher - At issue here is that the Date table is not related to the fact table, so the calculation is counting all dates in the date table. As a best practice, you generally want to make relationships from your date dimension table to each fact table.

    Hope this helps,

    Nathan