Forum Discussion
rantel
3 years agoNew Member
Use MIN in measure, calculated row wise without aggregation
How to get the MIN of two dates in a Measure function without any aggregation. This can be done using a computed column but the issue is that it is not computed dynamically. See screenshot: EndDat...
- 3 years ago
Hi rantel ,
How about this:
Measure = VAR _temp = { MIN ( 'Sample Table'[Value3] ), MIN ('Sample Table'[Value4]) } RETURN MINX ( _temp, [Value] )/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
tackytechtom
Most Valuable Professional
3 years agoHi rantel ,
How about this:
Measure =
VAR _temp = { MIN ( 'Sample Table'[Value3] ), MIN ('Sample Table'[Value4]) }
RETURN
MINX ( _temp, [Value] )
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
- rantel3 years agoNew Member
Thanks Tom. This worked. Just had to do a small tweak to remove the MIN function call for the Measure column.
Measure = VAR _temp = { MIN ( 'Sample Table'[Value3] ), 'Sample Table'[Value4] } RETURN MINX ( _temp, [Value] )