Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
alevandenes
Helper IV
Helper IV

get end date from below row

Hi Community,

 

this is my current dataset in PowerBI

 

alevandenes_0-1666770111072.png

could you help me write a formula that takes the next row time to use as a end date?

it should look like this eventually: 

alevandenes_1-1666770168926.png

thanks a lot in advance for all the help

Kind regards

 

 

1 ACCEPTED SOLUTION
raimon
Resolver II
Resolver II

Hi @alevandenes,

 

You can achieve this by adding an index colum thru power query first. 

Table.AddIndexColumn(#"Changed Type", "Index", 1, 1, Int64.Type)

raimon_0-1666772272578.png

Then create a calculated column - 

raimon_1-1666772319125.png

If you dont see the result as above, ensure you have the right data type selected. 

 

 

View solution in original post

1 REPLY 1
raimon
Resolver II
Resolver II

Hi @alevandenes,

 

You can achieve this by adding an index colum thru power query first. 

Table.AddIndexColumn(#"Changed Type", "Index", 1, 1, Int64.Type)

raimon_0-1666772272578.png

Then create a calculated column - 

raimon_1-1666772319125.png

If you dont see the result as above, ensure you have the right data type selected. 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.