Forum Discussion
NewbieJono
4 years agoPost Partisan
Sum where date = another date
i wish to sum a volume where the dates in a coloumn equals a certain date (Calculated from another measure) This does not seem to work Oldest Date Volume =
VAR Volume =
CALCULATE(
SUM(...
- 4 years ago
NewbieJono , Try like
Oldest Date Volume =
VAR Volume =
CALCULATE(
SUM(DATA[Volume]),
filter(DATA, [Oldest Date] = DATA[Date of Receipt])
)Return
VolumeIf this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
amitchandak
4 years agoSuper User
NewbieJono , Try like
Oldest Date Volume =
VAR Volume =
CALCULATE(
SUM(DATA[Volume]),
filter(DATA, [Oldest Date] = DATA[Date of Receipt])
)
Return
Volume
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.