Forum Discussion
Anonymous
3 years agoNot applicable
minimum value between 2 dates
Hello, I want to calcule a minimum and maximum for value that i have in table X. But i want to have the minimum and maximum between 2 dates that i have in table Y. Exemple : Table X : ...
- 3 years ago
Hi, Anonymous
Please try formula like:
minimum = CALCULATE ( MIN ( TableX[Value] ), FILTER ( TableX, TableX[ART] = SELECTEDVALUE ( TableY[ART] ) && TableX[Date] >= SELECTEDVALUE ( TableY[Date A] ) && TableX[Date] <= SELECTEDVALUE ( TableY[Date B] ) ) )Your expected result seems to have wrong value, please check again.
Result:
Best Regards,
Community Support Team _ Eason
v-easonf-msft
3 years agoCommunity Support
Hi, Anonymous
The fields in your formula don't seem to match the fields in your table.
Can you share your expected output to further explain your requirement?
Best Regards,
Community Support Team _ Eason
Anonymous
3 years agoNot applicable