cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors