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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
vissvess
Helper V
Helper V

Group or rank for allocation for optimal utilization

Hi,

 

My dataset is as follows

ID       Length

SDF    340

GEW  510

DFA    80

SRD   450

ADV  350

AND SO ON.....

 

and I have rack dimension length to be 1650.

 

I need a ranking or grouping mechanism for me to suggest the IDs to be places together in the rack of provided length, so that the resource is utilised in optimal manner.

 

For instance, if 1,2,3 & 4 are grouped, unutilised length is 270. But if 1,2,4 & 5 is ranked for same group, then the total is 1650 makes it completely utlized. So the ultimate aim is to bring the unutilised closed to zero.

 

Any workaround for this is hugely appreciated and I would be so thankful.

 

Thanks in advance.

1 REPLY 1
Nolock
Resident Rockstar
Resident Rockstar

Hi @vissvess,

if I understand your problem well, you want to solve an NP problem. The mathematical description can be found here: https://en.wikipedia.org/wiki/Subset_sum_problem

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors