Forum Discussion

michaelccdf's avatar
michaelccdf
Helper I
8 years ago
Solved

RelatedTable

I have three tables   factClosures Date,School,PeriodsClosed   dimSchools School, CountofHomerooms   dimDates Date, Week   I'm trying to find the PeriodsClosed Per Homeroom Per Week.  The ...
  • popov's avatar
    popov
    8 years ago

    I read your first post again and understud.

    Try this way:

    1. Edit relationship between factClosures and dimSchools and set Filter Direction = "To both tables" 

    2. Replace Measure formula:
    PeriodsClosed Per Homeroom =
    CALCULATE (
        DIVIDE (
            SUM ( factClosures[PeriodsClosed] );
            SUM ( dimSchools[CountofHomerooms] )
        )
    )