We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi. I have a table that has the following data:
| TicketID | Status | Time |
| 201 | In | 09:55 |
| 202 | In | 10:02 |
| 203 | In | 10:23 |
| 204 | In | 10:35 |
| 201 | Out | 10:49 |
| 205 | In | 10:53 |
| 206 | In | 11:21 |
| 202 | Out | 11:23 |
| 203 | Out | 11:31 |
| 204 | Out | 11:44 |
I would like to calculate the duration each TicketID has been in the building (Difference between In / Out Time for every TicketID).
Any suggestions how this could be calculated please?
Solved! Go to Solution.
Hi, @fetster
Please check the below picture and the sample pbix file's link down below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi @fetster
Here you have the choice to use cards and to return 0 when the satus for a ticket is not Out yet
Don't forget to format the Time column and the card
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi, @fetster
Please check the below picture and the sample pbix file's link down below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 38 | |
| 34 | |
| 22 |