Forum Discussion

love's avatar
love
Helper I
8 years ago
Solved

How to connect and visualize values from different sources with shared configurations

Hello.     Reference file (Dropbox): https://www.dropbox.com/s/pgj4170swazar6e/MockUp2.pbix?dl=0 Description: File contains two queries, one for open work ("Tasks") and one for available resource...
  • v-yulgu-msft's avatar
    8 years ago

    Hi love,

     

    I noticed that there isn't any relationship between 'Availability' and 'CalendarTable'. So, the Availability[HoursTotal] won't be affected by the selected date range from slicer. You may create a measure similar to:

    Hours total measure =
    CALCULATE (
        SUM ( Availability[HoursTotal] ),
        FILTER (
            Availability,
            Availability[Date] >= MIN ( CalendarTable[Date] )
                && Availability[Date] <= MAX ( CalendarTable[Date] )
        )
    )

    Regards,

    Yuliana Gu