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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
junior84
New Member

Allocate students to subjects based on priority choices (POWER BI)

I need help with the following question:

 

a) I have a table called “student subject” with the following columns: student id, class the student belongs to (15 classes), date representing the time he chose the subject he would like to take (day, month, time , min and s), the course you are currently studying, the first course option to take, the second course option to take, the third course option to take.

 

b) a second table called “vacancy-per-course” with the columns name of the courses (containing the names of the 15 courses) and the column quantity (amount of vacancies per course).

 

Table called “student subject”

 

student id  student   class  Data  currently    first    second    third  
1  student1   1m126/05/2023 15:25   D

  A

   B

   C

2  student21m227/05/2023 15:25   A

  B

   C

   D

3  student31m328/05/2023 15:25   B

  A

   C

   D

4  student41m429/05/2023 15:25   B

  C

   A

   D

5  student51m530/05/2023 15:25   A

  B

   C

   D

6  student51m630/05/2023 15:25   B

  C 

   A

   D

7  student52m101/06/2023 15:25   D

  A

   B

   C

...    

 

 

 

 


Table called “vacancy-per-course”

 

course    quantity

  A

     2

  B

     2

  C

     2

  D

     2

...

...

 

My objective is to allocate students in these courses considering the time (time) they made the choice and the priority of the course choices (it needs to be different from the course they are currently studying). 

 

In the end, I need a matrix with the allocations, with the name of the student and the chosen course taking into account the priority.


I need help for this problem.

 

1 REPLY 1
lbendlin
Super User
Super User

Power BI is a reporting tool. It is (emphatically) not a resource allocation tool.  Use a tool that is designed for this, like Anaplan or any of the other specialized tools.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors