Forum Discussion

sdgiss's avatar
sdgiss
Helper I
5 years ago
Solved

Weekly group average

Hello all,   I am hoping someone can help me with calculating a weekly average for a group. The following returns the sum of the weekly totals for all of the racers who were competing in that respe...
  • AlB's avatar
    5 years ago

    Hi sdgiss 

    To get an accurate answer, you'd need to show your data model, the tables relevant to these calculations and their relationships. If dRace is a dimension table, you have to do the distinctcount on the fact table where the info on the races is, since that will (supposedly) be filtered by the week number. Assuming [Total Dist] works correctly, try something like:

    Measure =

    DIVIDE( [Total Dist], DISTINCTCOUNT(FactTable[RacerID])

     

    Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

    Contact me privately for support with any larger-scale BI needs, tutoring, etc.

    Cheers