Forum Discussion
First value / approval
- 6 years ago
Youn need the first reported time:
First Reported Time = CALCULATE ( MIN ( 'Table'[Update Time] ), ALLEXCEPT ( 'Table', 'Table'[Model], 'Table'[Entity], 'Table'[Period] ) )
KatkaS ,
I have a table where entities are approving a report. Some entities once (MFR), some several times (PHD).
I need to calculate the FIRST REPORTED TIME (if it was late or on time comparing Update time and App deadline, this I'm able to do:)).
Could you please clarify more details about this requirement? For example, you can provide sample data using sheet format and give the expected result.
Regards,
Jimmy Tao
- KatkaS6 years agoPost Patron
Thank you for looking into this!
I've attached an excel sheet with an example below.
I need to calculate if the entities were On time with their finance reporting:
This calculation is easy and I do it as following: If Update time minus App deadline is higher than zero, then it is On time (I use Custom columns to do it).
Problem is that entities can report several times, like e.g. Entity F below. And I need to take in cionsideration only first approval...
I hope it is clearer now?
Thank you very muhc!
MODEL ENTITY UPDATE TIME APP DEADLINE FINANCE_INPUT A 2020-04-03 20:30:33 2020-04-03 21:00 FINANCE_INPUT B 2020-04-03 19:21:54 2020-04-03 16:00 FINANCE_INPUT C 2020-04-03 19:01:09 2020-04-03 10:00 FINANCE_INPUT D 2020-04-03 18:54:11 2020-04-03 10:00 FINANCE_INPUT E 2020-04-03 17:42:53 2020-04-03 16:00 FINANCE_INPUT F 2020-04-03 16:01:47 2020-04-03 16:00 FINANCE_INPUT F 2020-04-03 15:56:24 2020-04-03 16:00 - KatkaS6 years agoPost Patron
update 2:
Hello,
I should probably also mention that in the file, there are different types of reports (column MODEL) and different periods and I need to calculate if the reporting was on time per Entity, Model and per Period..
MODEL PERIOD ENTITY UPDATE TIME APP DEADLINE Sales March2020 A 2020-04-03 20:30:33 2020-04-03 21:00 Sales March2020 B 2020-04-03 20:05:04 2020-04-03 21:00 Sales March2020 B 2020-04-03 22:15:04 2020-04-03 21:00 Sales February2020 B 2020-04-03 19:21:54 2020-04-03 16:00 FINANCE_INPUT March2020 C 2020-04-03 19:01:09 2020-04-03 10:00 FINANCE_INPUT March2020 D 2020-04-03 18:54:11 2020-04-03 10:00 FINANCE_INPUT March2020 E 2020-04-03 17:42:53 2020-04-03 16:00 FINANCE_INPUT March2020 F 2020-04-03 16:01:47 2020-04-03 16:00 FINANCE_INPUT March2020 F 2020-04-03 15:56:24 2020-04-03 16:00