Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello,
I have data with following structure -
primary_key | task_name | task_start_time | task_duration (hr) |
123456 | purchasing | 10-03-2021 12:08:56 | 8 |
123456 | storing | 10-03-2021 20:08:56 | 24 |
123456 | using | 11-03-2021 20:08:56 | 12 |
123456 | recycling | 12-03-2021 08:08:56 | 2 |
123456 | discarding | 12-03-2021 10:08:56 | 2 |
7890 | purchasing | 11-03-2021 16:06:34 | 24 |
7890 | using | 12-03-2021 16:06:34 | 4 |
7890 | discarding | 12-03-2021 20:06:34 | 3 |
Based upon the data, I want to create a visual in Power BI that will give me the sequential information about the tasks.
Requirement : Select a single "primary_key" in the slicer and you should see something like this -
Could you please suggest if there is any other way of showcasing this sequential flow of events in Power BI?
See if this works.
Create a measure for each step with the equivalent to the following:
Duration =
SUM('Table'[task_duration (hr)])
Purchasing =
"Purchasing Duration" & UNICHAR ( 10 ) & "="
& CALCULATE ( [Duration], 'Table'[task_name] = "Purchasing" ) & " hrs"
Create the visual by inserting the arrow shaped object under Insert / Shapes in the ribbon
Add a card visual overlaying each arrow with it's corresponding measure. Add the slicer and you get:
I've attached the sample PBIX file
Proud to be a Super User!
Paul on Linkedin.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
85 | |
65 | |
51 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |