Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi
Please help in converting SQl to DAX
select j.Col1, j.Col2 , (select Min(Col2) from Table1 where Col1 = j.Col1 and Col2 > j.Col2) as Col3
from Table1 j
Table1 has following Columns:- Col1 int, Col2 date
Solved! Go to Solution.
@jaigupta78 , a new column
minx(filter(Table, [Col1] =earlier([Col1]) && [Col2] >earlier([Col2])), [Col2])
@jaigupta78 , a new column
minx(filter(Table, [Col1] =earlier([Col1]) && [Col2] >earlier([Col2])), [Col2])
Thanks Amit
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |