Forum Discussion

Femi10's avatar
Femi10
Frequent Visitor
4 years ago
Solved

Dax Calculation

To find out how many times a Job ID appears in my Data set, I used the formula COUNTROWS(FILTER('Engrs Timesheet', EARLIER('Engrs Timesheet'[Job ID],1) = ('Engrs Timesheet'[Job ID]))) in the column ...
  • smpa01's avatar
    4 years ago

    Femi10  you can try this

    Column =
    CALCULATE (
        COUNTX (
            SUMMARIZE ( 'Table', 'Table'[ID], 'Table'[On Site] ),
            'Table'[On Site]
        ),
        ALLEXCEPT ( 'Table', 'Table'[ID] )
    )
    

     

    pbix is attached