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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Data_Struggles_
Frequent Visitor

Queuing Theory Model implementation in PowerBI

Does anyone have experience with Queuing theory and might be able to point me in the right direction as to how to implement it in DAX tables/measures in PowerBI? We have a need for Headcount outputs based upon inputs of Arrival Rate, Service Rate, and Average Wait Time; we've used an Excel add-in for Erlang for a while, but find that at low-volume it is highly inaccurate. I've looked into Queuing Theory a bit(even used ChatGPT for some assistance lol) but hit dead ends. Is there anyone who has worked with queuing theory who can point me in the right direction?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

When you try to implement this in Power Query or DAX you soon realize that neither support the concept of mutable variables, and neither have memory/state storage capacities.  You will have to resort to Python or R scripts for anything but the most basic cases.  I once worked on a scenario for a bakery (incoming orders through the day versus machine availability and order urgency) and while possible with List.Accumulate and some dirty tricks  it was a nightmare to program.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

When you try to implement this in Power Query or DAX you soon realize that neither support the concept of mutable variables, and neither have memory/state storage capacities.  You will have to resort to Python or R scripts for anything but the most basic cases.  I once worked on a scenario for a bakery (incoming orders through the day versus machine availability and order urgency) and while possible with List.Accumulate and some dirty tricks  it was a nightmare to program.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.