Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all, I wonder if someone can please assist.
I have ship visits, and I'm trying to calculate the hours difference between when a ship arrives at anchor (MoveType = Arrive at Anchor) and is assigned a berth (MoveType = Arrival). So I'm wanting to create a separate table viz that rolls up to show one Duration for each visit to measure how long the ship spent at Anchor (the first date when MoveType = Arrive at Anchor) until it was assigned a berth (the last date when MoveType = Arrival)
A few notes:
- Each ship has a unique VisitId.
- There are other MoveTypes, but I only want these two to be included in the calculation.
- I have active date and cargo type filters used on the page
Here is what the table viz looks like as is:
Thanks in advance!
Solved! Go to Solution.
@Anonymous ,
You may refer to the following post.
@Anonymous ,
You may refer to the following post.
Thank you so much! Perfect. Amended it to fit an existing column that contains an Id field (VisitId), and it works perfectly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |