Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
81 | |
53 | |
37 | |
37 |