Forum Discussion
tomasjezek
2 years agoFrequent Visitor
Data Transformation - Create Milestone Start Date column based on data from two other columns
Hello PBI Community Members, I would like to ask you to help me (and challenge you a bit) with following data transformation task. I have a data set where there are Projects and their's Miles...
- 2 years ago
I used the Index column to make this a bit easier:
ColumnE = var _idx = TableK[Index] var _proj = TableK[PR] var _offsetDate = CALCULATE(MAX(TableK[Milestone Completion Date]), FILTER(TableK, TableK[Index] = _idx -1)) VAR _Result = IF ( TableK[Project Milestone] = "M1", TableK[Project Start Date], _offSetDate ) RETURN _Result
HotChilli
Community Champion
2 years agoPost that data as text please.
Where is the Project Milestone Index values? Can you provide the code for that?
PLease show the desired result for Milestone Start Date
- tomasjezek2 years agoFrequent Visitor
Hi,
I updated my post with required information, but I can not provide the code so far.
Maybe there will be a solution without a need to use Project Milestone Index. The main focus is to have Milestone Start Date column.
Thank you.