Forum Discussion
Anonymous
1 year agoNot applicable
Using filter with DateDiff
Hi All, I'm new to pbi and need help with the following table to calculate the right data: I want to calculate the datediff using actual end date from exit meeting to the actual end date on ...
- Anonymous1 year ago
Hi Anonymous,
Try this measure using CALCULATE Function
VAR ExitDate = CALCULATE( MAX('ProjectPhaseMilestones'[ActualEndDate]), 'ProjectPhaseMilestones'[MilestonesName] = "Exit Meeting" ) VAR FinalAuditDate = CALCULATE( MAX('ProjectPhaseMilestones'[ActualEndDate]), 'ProjectPhaseMilestones'[MilestonesName] = "Final Audit Report" )Regards,
Vinay Pabbu
Anonymous
1 year agoNot applicable
Hi Vinay,
How do I do that? Filter the table and extract the value from the ActualEndDate column where MilestonesName = "Exit Meeting" and "Final Audit Report".
Thank you!
Anonymous
1 year agoNot applicable
Hi Anonymous,
Try this measure using CALCULATE Function
VAR ExitDate =
CALCULATE(
MAX('ProjectPhaseMilestones'[ActualEndDate]),
'ProjectPhaseMilestones'[MilestonesName] = "Exit Meeting"
)
VAR FinalAuditDate =
CALCULATE(
MAX('ProjectPhaseMilestones'[ActualEndDate]),
'ProjectPhaseMilestones'[MilestonesName] = "Final Audit Report"
)
Regards,
Vinay Pabbu
- Anonymous1 year agoNot applicable
That works!! Thank you so much!!!