Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |