Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Min date for every gro

Hi All,   can somebody please help me.   i have below data.   Project 1 Mile Stone start date     milestone1 01/02/2020     milestone2 11/02/2020     milestone3 21/02/2...
  • MFelix's avatar
    6 years ago

    Hi Anonymous ,

     

    You have two options or change the sumarization to the minimum value (first value) if you want you can also create a measure similar to:

    MIN(Table[StartDate])

    Be aware that depeding on the way you place things in the visualizaiton you may need to make some adjustments so that the measure is blank when more than one project is selected.

     

    Similar to this:

    IF(DISTINTCTCOUNT(Table[Project]) = 1; MIN(Table[StartDate]); blank())
  • amitchandak's avatar
    6 years ago

    Calculate(Min(table[Start Date]),allexcept(table[project]))

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

    You can create one measure as below:

     

    Min date = var a=max('project'[Project]) var b= CALCULATE(min('project'[start date]), filter(all('project'),'project'[Project]=a)) return b

     

    Best Regards

    Rena