The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
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.
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |