Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
rks
Resolver II
Resolver II

Modeling advise for processing mining

Hi all, 

 

in the latest blog post from the September 2021 update, there was a visual by PAFnow.

It collects the data from a event-like table and calculated lead times based on a key.

 

Let's say I want to track the movement a shipment. Each shipment has lots of scanpoints and corresponding scantypes:

ShipmentIdScanTypeTimestamp
124LeaveWarehouse2021-09-23 09:00:00
124DepotEntry2021-09-23 10:00:00
124DepotSorted2021-09-23 12:00:00
124LoadOnTruck2021-09-24 06:00:00
124CustomerReceivedOK2021-09-24 12:00:00
124ReturnShipmentIssued2021-09-25 16:00:00

 

So with a process mining tool I would be able to calculated the time between each node...

 

However, let's say I want to model the lead times by myself. Are there any best practises? Could I DAX the leadtimes (each measure is the process-step) with the table structure as provided above or should I pivot the table on loading based on the shipment?

 

I would highly appreciate to receive some information of blog posts or videos on similar use cases.

 

Best regards,

Konstantin

3 REPLIES 3
Anonymous
Not applicable

Hi @rks ,

 

Could you tell me if my post helps you a little? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

Hi @Anonymous ,

 

I do like your links and ideas. And I also got the idea for asking about this topic by watching the recent blog entry. The solution provided there is also pafNow, which seems to be quite a bit of useful software. However, I was also interested in researching ways to achieve a smiliar, lest less generic, approach by using DAX only and not rely on external tools.

Anonymous
Not applicable

Hi @rks ,

 

I may suggest you use DAX to create measures for TimeStamp/End-TimeStamp field in Process Mining visual.

 

Refer to:

 

https://pafnow.com/blog/process-mining-101-what-is-process-mining/

https://community.powerbi.com/t5/Data-Stories-Gallery/Process-Mining-in-Power-BI-PAFnow/m-p/1259223

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.