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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ramees_123
Helper IV
Helper IV

Consolidate Issues Data for Last 3 Months with Status - DAX Help in Table

Below I have given my Sample data. The table contains the details of issues with ID, Raised date, Closed date and Status.

 

Issue IDRaised DateClosed DateStatus
101-Jan-2101-Feb-21Closed
221-Jan-2130-Jan-21Closed
301-Feb-21 Open
420-Feb-2120-Mar-21Closed
501-Mar-21 Open
620-Mar-2106-Apr-21Closed
715-Apr-21 Open
806-Apr-2115-Apr-21Closed
910-May-21 Open
1002-May-21 Open

 

I need to create a table visual to consolidate the data in the below format for last previous 3 months issues. Please help.

 

All IssuesFeb-21Mar-21Apr-21Total
Issues Brought Forward1236
Issues Raised2226
Issues Closed1113
Issues Carried Forward2349

 

Issues Brought Forward - Issues create date on past months and closed date on this month or not yet closed.

Issues Raised - Issues create date on this month.

Closed Issues - Issues closed date on this month.

Issues Carried Forward - Issues Brought Forward + Issues Raised - Issues Closed

Total - Total of last three months counts.

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Ramees_123 , I have a blog on similar lines for HR with start and end date. There you need a common date table to deal with it.

 

See if this can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Also attaching the file, if that can help

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Ramees_123 , I have a blog on similar lines for HR with start and end date. There you need a common date table to deal with it.

 

See if this can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Also attaching the file, if that can help

 

@amitchandak  Thanks a lot Amit 🙂 You saved my day.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.