Forum Discussion
Cumulative calculation does not show months/weeks without imput
- Anonymous1 year ago
Hi milson4
Thank you for reaching out to Microsoft Fabric Community.
please try below DAX it may helps you.
IssuedReportsCumulated =
VAR MaxDate = MAX('DateTable'[IssuedDate])
VAR LastReportDate =
CALCULATE(
MAX('Reports'[IssuedDate]),
'Reports'[IssuedDate] <= MaxDate,
ALL('DateTable')
)
RETURN
CALCULATE(
[IssuedReports],
FILTER(
ALL('DateTable'),
'DateTable'[IssuedDate] <= LastReportDate
)
)
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you. - Anonymous1 year ago
Hi milson4
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi milson4
Thank you for reaching out to Microsoft Fabric Community.
please try below DAX it may helps you.
IssuedReportsCumulated =
VAR MaxDate = MAX('DateTable'[IssuedDate])
VAR LastReportDate =
CALCULATE(
MAX('Reports'[IssuedDate]),
'Reports'[IssuedDate] <= MaxDate,
ALL('DateTable')
)
RETURN
CALCULATE(
[IssuedReports],
FILTER(
ALL('DateTable'),
'DateTable'[IssuedDate] <= LastReportDate
)
)
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.