Forum Discussion

Zakaria_1980's avatar
Zakaria_1980
Post Patron
3 years ago
Solved

help

Hi, please if i have such Tbl in PBI desctop and I want to add 2 other columns where it will put the first start date in all non blank rows per Full Name and in the other column the last end date in...
  • Ashish_Mathur's avatar
    3 years ago

    Hi,

    These calculated column formulas work

    Actual start date = if(data[Start Date]=BLANK(),BLANK(),CALCULATE(MIN(data[Start Date]),FILTER(data,data[FullName]=EARLIER(data[FullName]))))
    Actual end date = if(data[Start Date]=BLANK(),BLANK(),CALCULATE(max(data[End Date]),FILTER(data,data[FullName]=EARLIER(data[FullName]))))