Forum Discussion

Promethes_2's avatar
Promethes_2
Helper II
9 years ago
Solved

USERRELATIONSHIP With SUM and Filter Question

Hello,   I have the following tables:   'Calendar'[Date]  1 to M -> 'Sales'[Posted Date]   My calendar table has a calculated column [Is Current Week] that holds a value of 1 if true if the dat...
  • mattbrice's avatar
    9 years ago

    How about this version.  It should work:

     

    Measure =
    CALCULATE (
        SUM ( 'Sales'[Amount] ),
        USERELATIONSHIP ( 'Calendar'[Date], 'Sale'[Order Date] ),
        'Calendar'[Is Current Week] = 1
    )