Forum Discussion
philtab
8 years agoFrequent Visitor
Add 3 Month to MIN Date
Hi all, I have an issue with my DAX formula. I want to compare to dates in a matrix using a dates filter (Quarters and Year): I almost solved this by using the following two formulas. Fi...
- 8 years ago
Hi,
Not sure of what you want but try this
Min_value = CALCULATE(SUM('Totals'[Value]),DATESBETWEEN('Date'[Date],EDATE(MIN('Date'[Date]),3),EDATE(MIN('Date'[Date]),3)))
Hope this helps.
Ashish_Mathur
Super User
8 years agoHi,
Not sure of what you want but try this
Min_value = CALCULATE(SUM('Totals'[Value]),DATESBETWEEN('Date'[Date],EDATE(MIN('Date'[Date]),3),EDATE(MIN('Date'[Date]),3)))
Hope this helps.
philtab
8 years agoFrequent Visitor
Thanks a lot! That solved my problem!
- Ashish_Mathur8 years ago
Super User
You are welcome.