Forum Discussion
Promethes_2
9 years agoHelper II
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...
- 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 )
mattbrice
9 years agoSolution Sage
How about this version. It should work:
Measure =
CALCULATE (
SUM ( 'Sales'[Amount] ),
USERELATIONSHIP ( 'Calendar'[Date], 'Sale'[Order Date] ),
'Calendar'[Is Current Week] = 1
)- Promethes_29 years agoHelper II
It actually all boiled down to a misconception that I had transactions in the current week when I did not. Thank you for your reply, I marked your answer as the solution as it does work. I
- mattbrice9 years agoSolution Sage
Good to hear as that was my next suggestion. I coulnd't see an issue with the measure based on facts given.