Forum Discussion
Taking the min with condition
- 7 years ago
Hi,
Write this calculated column formula in Table1. You will need to change the Table and column names
=CALCULATE(MIN(Table2[Date]),FILTER(Table2,Table2[ID]=EARLIER(Table1[ID])&&Table2[Date]>EARLIER(Table1[Date])))
Hope this helps.
Hi,
Write this calculated column formula in Table1. You will need to change the Table and column names
=CALCULATE(MIN(Table2[Date]),FILTER(Table2,Table2[ID]=EARLIER(Table1[ID])&&Table2[Date]>EARLIER(Table1[Date])))
Hope this helps.
- Anonymous7 years agoNot applicable
=CALCULATE(MIN(Table2[Date]),FILTER(Table2,Table2[ID]=EARLIER(Table1[ID])&&Table2[Date]>EARLIER(Table1[Date])))
When filtering table 2, including table 1 causes error. Please advise (red text above).
- Ashish_Mathur7 years ago
Super User
Hi,
I cannot figure out the mistake there. Share the link from where i can download the PBI file with my formula already written there. I will try to correct for the error.
- Anonymous7 years agoNot applicable
Thank you for your help.
Here is the link: http://35.188.212.139/test_measure.pbix