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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
hassan_d
Frequent Visitor

Distrubute orders among machines to use their maximum capacity

Hello,

 

I am looking to use the capacity of machines 1,2 and 3 in the most efficient way possible to prepare the orders of products a,b,c,d and e.

 

hassan_d_0-1665647044059.png      

hassan_d_3-1665647431910.png

 

Only a certain type of products can be manufactured in each machine.

 

hassan_d_2-1665647301307.png

Can anybody suggest how to achieve this with dax, either:

  • Populate each machine in the optimal way to their maximum capacity - when orders exceed capacity, the exceeding orders should be distributed as equally as possible among all machines that can manufacture those products.
  • or, let the user select which product they want to make in each machine - once a product has been selected and is being made in a certain machine, it should not appear as an option in the other machines.

 

Thanks.

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @hassan_d ,

I'm not clear about your requirement. Could you please provide your expected result with more details(calculation logic, correct result etc.) base on the current data? Do you want to get the proper product which can be manufactured in each machine? Thank you.

yingyinr_0-1665739625496.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you so much for getting back @v-yiruan-msft.

The requirement is to use the available resources (capacity) in an optimal way - could be more than one.

 

One solution could be something like this:

hassan_d_2-1665746628645.png

 

 

The product that can be manufactured in each machine is already identified, the thing is not to make the same product in another machine if it has already been assigned to one.

hassan_d_1-1665746049707.png


I have got to this using filters, in this example user can select which product they want to place in each machine, but its not feasible for bigger data sets, but the idea is to populate each machine optimally using dax.

hassan_d_4-1665746851775.png

 

Also, like in this example, once the product "a" has been assigned to Machine 2, it mustn't appear as an option for the other machines unless unselected again.

 

Kind regards,

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.