Forum Discussion
Promethes_2
Helper II
9 years agoUSERRELATIONSHIP 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
Solution Sage
9 years agoHow about this version. It should work:
Measure =
CALCULATE (
SUM ( 'Sales'[Amount] ),
USERELATIONSHIP ( 'Calendar'[Date], 'Sale'[Order Date] ),
'Calendar'[Is Current Week] = 1
)Promethes_2
Helper II
9 years agoIt 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 ago
Solution Sage
Good to hear as that was my next suggestion. I coulnd't see an issue with the measure based on facts given.