Forum Discussion
gclements
5 years agoHelper II
Calculate dates between
Hi, I have the below measure which calculates the number of days between two dates filtered by the datebetween function. I only want to show this measure when it falls between the dates provided in...
- 5 years ago
Thansk for the reply but I fixed this by adding a FILTER instead of the DATESBETWEEN:
CALCULATE (DATEDIFF ( MAX ( Charge[Charge Date 1] ), [Current Rental To Date], DAY ),FILTER(Charge, Charge[Charge Date 1] >= [Current Rental From Date]))
gclements
5 years agoHelper II
Thansk for the reply but I fixed this by adding a FILTER instead of the DATESBETWEEN:
CALCULATE (
DATEDIFF ( MAX ( Charge[Charge Date 1] ), [Current Rental To Date], DAY ),
FILTER(Charge, Charge[Charge Date 1] >= [Current Rental From Date])
)