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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wkvitor_17
New Member

Hospitalized patient

Hello everyone.

I need to calculate the occupancy rate of the beds through a data segmentation filter by period or date.

I have as parameter, the date of entry and the date of departure of each patient, the total number of beds and patients who do not have date of exit because they are still hospitalized("AQ8730"). 

 

As you can see, in the photo below:
As of October 1, we had 16 new patients.
On October 2 we had more patients coming in and others still hospitalized.

If we look only at the date of the first day of October, we had only 5 patients hospitalized. (not counting those who were already admitted before this date, as you can see the patient on September 30 in line "C8712" photo.)

 

Just do not have the slightest idea to apply that to powerbi.

 

 

 

 

 

 

 Thank you very much for your attention!
I would appreciate it if anyone could help me!

2 REPLIES 2
Greg_Deckler
Super User
Super User


Take a look at these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hello Greg,

 

Sorry for my ignorance.

 

I could not understand these two links to my reality.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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