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
AFultz
New Member

Modified Census Count By Month using Admit/Discharge Dates

Hello,

 

I need to be able to show on a graph how many Cases an agency program has maintained each month. It is essentially a census count for the month, but I'm only supposed to include cases that have been in program for every day in the month. Anyone who has been admitted or discharged partway through the month needs to be excluded from that month's count. 

 

I have an Enrollment Report that lists each Case with an admit date and discharge date in the same row. Is there a Measure that would be able to accomplish this? Or another route?

 

Any guidance on this would be greatly appreciated! 

1 REPLY 1
amitchandak
Super User
Super User

@AFultz , Based on what I got, You need a common date table and join with both date columns. And inactive join you can activate using use userelationship

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.