Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have a Power Query which produces an expanded list of information and in that information I have dates from the start and end date columns in my table. Im trying to creat a formula to work and I cant figure out how.
if EndDate - StarDate > 2 years if yes then mark column G as continue else - start
This means that the end date and Start date is greater than 2 years if yes then mark or edit a specific column as Continue or Start
Any ideas greatly appreciated!
Solved! Go to Solution.
an you create a custom column with the formula:
if Duration.Days([endDate] - [startDate]) > (365 * 2) then "continue" else "start"
and then filter the ones that you need.
an you create a custom column with the formula:
if Duration.Days([endDate] - [startDate]) > (365 * 2) then "continue" else "start"
and then filter the ones that you need.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
12 | |
11 | |
11 | |
8 |