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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Calculate active requests in a given period

Dear Community,
I'm trying to build a chart showing service requests created, service request closed and active service request in a given time period. I also have a chart showing per month status (created - closed) but this is not showing the full picture as it shows only the difference. I'm being chased to provide cumulative line showing the actual work on hand.


I currently have the following tables and sample structure:

DATE
Date; Week Number; Day Of the Week

SERVICE REQUESTS
Service Request ID; Created Date; Closed Date

I have built some DAX formulas and visuals to show the backlog trend per month, ie. specific year/month/week what is the balance

Count Service Requests = DISTINCTCOUNT('SERVICE REQUESTS'[Service Request ID])
Count service request closed = CALCULATE(DISTINCTCOUNT('SERVICE REQUESTS'[Service Request ID]),USERELATIONSHIP('SERVICE REQUESTS'[CLOSED DATE 'Date'[Date]))
Service Request ballance = [Count Service Requests] - [count service request closed]

This is working quite good but obviously shows the balance as a relative number and not showing the total of active cases every month. I was trying to build a formula similar to what I was doing in excel - but I'm lost. I admit that I'm still not fully understanding DAX and the work with calendar /date

I was hoping that the following logic would work:
Service Request balance cumulative = [Count Service Requests] - [count service request closed] + <Result of the Service Request balance cumulative from the previous perriod>


Can you, please, direct me to a proper way of achieving that calculation?

Cheers!

Jiri

1 REPLY 1
daxer-almighty
Solution Sage
Solution Sage

Hi there.

 

Please paste a link to your file or put some sample data in here in a text form so that we can copy-and-paste. Nobody wants to create stuff manually. Waste of time. Thanks.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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