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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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