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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CarmenSme
New Member

Occupancy overview - planning students

Hello, 

 

I'm quite new to PowerBI (have done a training a year ago, but somehow most of the info slipped my mind while I tried to do te following) and I hope someone can help me with my question. 

 

I work with a company where we plan students for an internship. For that, the different departments let us know how many places they have for the intern, after which we put this in the system. In this system school can see these places an can first reserve a spot for a future student and later on 'match' a student name on this reservation. This is all visible in the planbord, which is nice! However, the system doesn't yet give a dashboard/overview of the amounts that we have planned based on this. Therefore I would like to make this (temporarily). And my question has to do with the data below (I translated the columns, sorry for possible typo's):

TitleFromUntilAmount of placesReserved placesMatched places
Internship year 2      08-02-2023      07-07-2023      300
Internship year 3      06-02-2023      14-04-2023      200
Internship year 4      05-06-2023      07-07-2023      200
Etc.      08-02-2023      07-07-2023      200
Etc.      28-11-2022      09-12-2022      200
Etc.      07-09-2022      14-04-2023      333

 

What the planners would like to have is an overview of how many available/reserverd/machted places at certain point in time. Sort of the occupancy at a certain point. For example how many places do we have available in the month october or on a particular day or week. 

 

Can anybody maybe help me with how I can do this?

 

Thanks a lot in advance!

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@CarmenSme Perhaps something like:

Measure Amount of Places =
  VAR __Date = MAX('Dates'[Date])
  VAR __Year = MAXX(FILTER('Table', __Date >= [From] && __Date <= [Until]),[Title])
RETURN
  IF( __Year = BLANK(), BLANK(), MAXX(FILTER('Table',[Title] = __Year),[Amount of places])) 


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.