on ‎2023 Mar 22 6:21 AM
I will try my best to explain what I need. A sample of my data is below and I need to only see Incident No where the Event Detail "Active" occurs before anything else.
So, if the incident numbers match and the first event to happen is "Active" then show that incident number and hide all others.

Appreciate any help.
Request clarification before answering.
1- Define the following formulas:
v_minDate: =Min([Event Date And Time]) In ([Incident No])
v_status_1: =If ([Event Date And Time] = [v_minDate] ForEach ([Incident No]) And ([Event] = "Active")) Then "1"
v_status: =Count([v_status_1]) In ([Incident No])
2- apply filter on Table [v_status] Equal to 1

...
I hope it will help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with below variable.Makesure table data will be sorted by Incident no and Event Date and Time.
V Show/Hide=If(RunningCount([Event]; ([Incident No])) Where ([Event]="Active")=1) Then "Show" Else "Hide"
Filter V SHow/Hide where euqal to Show
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.