Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Folks,
here im trying to write a DAX expression,
Date | Visbility |
2022-06-26 08:00 | 300 |
2022-06-26 09:00 | 100 |
2022-06-26 10:00 | 200 |
i would like to retrieve MIN Date for MIN Visibility
which translates to SQL as below,
select MIN(Date) from table where visibility =(select MIN(visibility from Table)
can you sugest the DAX query (expected Value MinDate 2022-06-26 09:00)
Solved! Go to Solution.
New measure =
var _min = minx(allselected(Table), Table[Value])
return
minx(filter(Table, Table[Value] = _min ), Table[Date])
or
New measure =
var _min = minx(allselected(Table), Table[Value])
return
minx(filter(allselected(Table), Table[Value] = _min ), Table[Date])
Thank you very much this worked
New measure =
var _min = minx(allselected(Table), Table[Value])
return
minx(filter(Table, Table[Value] = _min ), Table[Date])
or
New measure =
var _min = minx(allselected(Table), Table[Value])
return
minx(filter(allselected(Table), Table[Value] = _min ), Table[Date])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |