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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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