Forum Discussion
USERELATIONSHIP()
- 3 years ago
DanielCarvalho you probably need to create an inactive relationship between action date and your calendar date table and change the DAX to below
Created Cumulative =
CALCULATE(
COUNT('Distinct Tickets'[ActionDate]),
USERELATIONSHIP('Distinct Tickets'[ActionDate], 'CALENDAR'[DATE]),
FILTER(
ALLSELECTED('CALENDAR'),
'CALENDAR'[DATE] <= MAX('Distinct Tickets'[ActionDate])
)
)
-------------------------------------------------------------------------------------------------------------------------------
"Good day, amigo! Have I provided the solution ? If so, please let me know by adding the lovely, sweet "solution" tag to my post. And hey, if you're feeling very kind, give me a Kudos; after all, who doesn't enjoy a little digital gratitude?"
DanielCarvalho you probably need to create an inactive relationship between action date and your calendar date table and change the DAX to below
Created Cumulative =
CALCULATE(
COUNT('Distinct Tickets'[ActionDate]),
USERELATIONSHIP('Distinct Tickets'[ActionDate], 'CALENDAR'[DATE]),
FILTER(
ALLSELECTED('CALENDAR'),
'CALENDAR'[DATE] <= MAX('Distinct Tickets'[ActionDate])
)
)
-------------------------------------------------------------------------------------------------------------------------------
"Good day, amigo! Have I provided the solution ? If so, please let me know by adding the lovely, sweet "solution" tag to my post. And hey, if you're feeling very kind, give me a Kudos; after all, who doesn't enjoy a little digital gratitude?"