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
rbcbasic
Regular Visitor

Dynamically calculate which orders are entirely fulfillable based on selected warehouses

Hi! A brain teaser, or something simple for some...

 

I have a number of sales orders 'Order Headers' with sales order numbers [Internal Order No.].

Each sales order has multiple lines 'Order Lines'.

Each order line is linked to a product 'Products' and a warehouse 'Warehouses'.

Each order line may have a backorder quantity [Qty Backordered].

 

'Products' and 'Warehouses' are star-schemad to a table showing on-hand quantities [Qty on Hand] of each [Product] / [Warehouse] combination.

 

The requirement: provide a list of [Internal Order No.] records from the 'Order Headers' table, that are completely fulfillable based on a selected number of 'Warehouses'.

 

The selected 'Warehouses' may or may not include the [Warehouse] that is referenced on the order line.

 

The idea is for the users to be able to select a number of warehouses in their region, and from this, inform them which sales orders may be completely fulfilled based on the on-hand quantities in that selected number of warehouses. They would then initiate supply-chain transfers from the regional warehouses so that they can fully deliver on what's been ordered, per sales order.

 

Any takers? 

1 REPLY 1
v-xiaotang
Community Support
Community Support

Hi @rbcbasic 

Thanks for reaching out to us.

could you share a .pbix file containing some sample data? thanks

 

 

Best Regards,

Community Support Team _Tang

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

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.