cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alevandenes
Helper III
Helper III

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
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors