Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear,
I would like an help to create the following function:A user when opening a ticket, the field "date_creation" is filled with the date and time and enters with the "status" = 1 (open).
When a technician assigns the call to him, the "status" changes to 2 (assigned).
I would like to store this time between the opening ticket and the assignment of the technician, in order to be able to take the time of the first response and, finally, to make an average of that time for the others tickets.
Is it possible to create this function?
You may try using AVERAGEX and DATEDIFF.
https://www.sqlbi.com/articles/filter-arguments-in-calculate/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 35 | |
| 34 | |
| 27 |
| User | Count |
|---|---|
| 137 | |
| 97 | |
| 74 | |
| 66 | |
| 65 |