Forum Discussion

mrclay82's avatar
mrclay82
Icon for Helper II rankHelper II
3 years ago
Solved

Switch date table using virtual relationship

Hi all,   I have a measure called [no of deliveries] which I normally use with my date table  ‘Dim-OutboundDate’   I need to use this measure with my other date table ‘Dim-Date’, and the outcome ...
  • johnt75's avatar
    3 years ago

    Try

    My Measure =
    CALCULATE (
        [no of deliveries],
        TREATAS ( VALUES ( 'Dim - Date'[ID_Date] ), 'Dim-OutboundDate'[ID_Date] ),
        REMOVEFILTERS ( 'Dim - Date' )
    )