Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Same number - different status

I have the same number multiple times.

And I wonder which formula I can use that the Finalstatus

is for all  2565 = closed

is for all 1534 = open

IssueIDDateStatusFinalStatus
256514.2.2019

open

 
256528.3.2019open 
256515.10.2019closed 
153414.2.2019open 
153425.5.2019open 
153415.10.2019open 
  • Anonymous 

     

    You may use the following DAX to add a calculated column.

    Column =
    MAXX (
        TOPN (
            1,
            FILTER ( 'Table', 'Table'[IssueID] = EARLIER ( 'Table'[IssueID] ) ),
            'Table'[Date], DESC
        ),
        'Table'[Status]
    )
    

     

3 Replies