Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello all,
I have two columns: TimeStamp and LoadDate.
I would like to create a third column, LoadID based on this criteria:
Dates between 23-06-2022 and 04-07-2022 in TimeStamp should have LoadID = 05-07-2022,
dates between 05-07-2022 and 27-07-2022 in TimeStamp should have LoadID = 28-07-2022, and so on.
Do you have any suggestion?
Solved! Go to Solution.
=Table.FillUp(Table.FromColumns(Table.ToColumns(PreviousStepName)&{List.Skip(PrevousStepName[LoadDate])},Table.ColumnNames(PreviousStepName)&{"LoadID"}),{"LoadID"})
=Table.FillUp(Table.FromColumns(Table.ToColumns(PreviousStepName)&{List.Skip(PrevousStepName[LoadDate])},Table.ColumnNames(PreviousStepName)&{"LoadID"}),{"LoadID"})